xsl-list
[Top] [All Lists]

[xsl] Matching attribute

2007-09-24 01:02:17
XSL ...

  <xsl:template match="Object">
       <xsl:choose>
<xsl:when test="[(_at_)xsi:type='CTextEx' or @xsi:type='CTextRingEx']">
               <xsl:copy>
               ..................................

XML ...

<Object xsi:type="CTextEx">
             <maxQSwitch>500</maxQSwitch>
            .................

Here I want to check the xsi:type attribute and do some operations... But I am getting an error at " xsl:when", Where am I gone wrong. Please help me...

- Regds

- Buddhi -


--~------------------------------------------------------------------
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>