RE: [xsl] Conditionally processing optional elements

Subject: RE: [xsl] Conditionally processing optional elements
From: "Michael Kay" <mhk@xxxxxxxxx>
Date: Tue, 29 Apr 2003 07:36:08 +0100
>  In creating an XSL, I have this problem: I have an
>  XML file that may or may not contain a certain
>  element. If it exists then a child element will
>  reference it, otherwise the child must refernce
>  another element. I'm not sure how to specify
>  If optional element exists then Child element
>  references optional element  Else child element
>  references other required element

Are you describing the input to your transformation, or the output, or

An example would help - for example, are these elements siblings of one

Michael Kay
Software AG
home: Michael.H.Kay@xxxxxxxxxxxx
work: Michael.Kay@xxxxxxxxxxxxxx 

 XSL-List info and archive:

Current Thread