xsl-list
[Top] [All Lists]

[xsl] xslt template match

2011-06-30 23:45:10
Hi All,
I have a question in conditional match template. I want to call a
template like below when there is no child node called "TYPE" does not
exists condition also.
Please help me how do I do that? " TYPE " node is dynamic element in
the input xml. It might exist or not.

I have both templates in my xslt.
 <xsl:template match="ITEM[TYPE='ONLINE']">
do something
 </xsl:template>

 <xsl:template match="ITEM">
do another think
 </xsl:template>


Please help.

Thanks
Senthil

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--

<Prev in Thread] Current Thread [Next in Thread>
  • [xsl] xslt template match, Senthilukvelaan <=