Subject: RE: a novice Q From: Jo Kong HO <JoK@xxxxxxxxxxxxxx> Date: Mon, 7 Aug 2000 16:43:39 +0100 |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: a novice Q, Kay Michael | Thread | RE: a novice Q, Kay Michael |
2 unique lists, Matthew Cordes | Date | Re: key() Re: Saxon VS XT, Paul Tchistopolskii |
Month |