[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: a novice Q
Mike I tried what you suggested, and I get the following error : Expected token 'eof' found '='. QT/text() -->=<-- 'text 1' and AT/text() != 'NULL' I am using IE5. > a XSLT novice question, and I promise this is not my home work. > I have the following XML : [snip] > and the following XSL > > <xsl:template match="Test/Test2/Q"> > <xsl:if test=".[QT/text() = 'text 1' and AT/text() != > 'NULL']"> Your XPath syntax is invalid, and should be rejected (this syntax is a carry-over from Microsoft IE5 XSL). The "." should not be followed by a predicate. Write <xsl:if test="QT/text() = 'text 1' and AT/text() != 'NULL'"> Mike Kay > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|