Subject: [xsl] optional children From: "Andrew Welch" <awelch@xxxxxxxxxxxxxxx> Date: Mon, 21 Oct 2002 12:24:42 +0100 |
Hi all, I want to output <foo/> if and only if element <a> has child <b>, with optional children <c> and <d>. So for example <a> <b/> </a> should output <foo/> <a> <b/> <c/> <d/> </a> (or any combination of) should output <foo/> <a> <b/> <e/> </a> should not. I think this is more difficult than it looks, the optional children really mess things up... but I may be wrong :) cheers andrew --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.404 / Virus Database: 228 - Release Date: 15/10/2002 XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] pdf report, Peter Flynn | Thread | Re: [xsl] optional children, Oleg Tkachenko |
[xsl] pdf report, Jaish_Kumar | Date | [xsl] how to make default actions?, Marcial Atienzar Nav |
Month |