xsl-list
[Top] [All Lists]

RE: [xsl] Matching attribute

2007-09-24 01:28:34
   <xsl:template match="Object">
        <xsl:choose>
            <xsl:when test="[(_at_)xsi:type='CTextEx' or 
@xsi:type='CTextRingEx']">
                <xsl:copy>
                ..................................
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 

1. Remove the square brackets.

2. Please don't post to this list saying "I am getting an error" without
saying what the error is. You might not understand the message, but for
experienced developers, finding an error with the help of an error message
is about 100 times faster than doing it without.

Michael Kay
http://www.saxonica.com/


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