[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

[xsl] check for optional element


Subject: [xsl] check for optional element
From: Nikolas.Nehmer@xxxxxxxxxxx (Nikolas Nehmer)
Date: Thu, 22 Jan 2004 10:20:13 +0100

Hi,

I want to check if an optional element is present in my XML document and if so I want to react to this fact. For example I have an optional element subsidiary in my Organesation.xml. If a subsidiary is present I want to create an additional column in my HTML table. How could I realise this test. The element-available() function does only apply to instruction elements I think?!

Best regards,

Nick



XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list



Current Thread
Keywords
xml