[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
This can really go wrong!! With '//c' all results in the file are matched, if any c in the file has the value '2'. Change it to 'descendant::c' or './/c' if you want descendant <c>s. '//c' means descendants of root node.
I hope I'm not wrong.
Regards,
Joerg
--
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Re: [xsl] few question regarding the use of id generation
Subject: Re: [xsl] few question regarding the use of id generation From: Joerg Heinicke <joerg.heinicke@xxxxxx> Date: Tue, 05 Feb 2002 18:20:54 +0100 |
If c were a child/descendant of results then:
<xsl:template match="results[//c='2']">
This can really go wrong!! With '//c' all results in the file are matched, if any c in the file has the value '2'. Change it to 'descendant::c' or './/c' if you want descendant <c>s. '//c' means descendants of root node.
I hope I'm not wrong.
Regards,
Joerg
--
System Development VIRBUS AG Fon +49(0)341-979-7411 Fax +49(0)341-979-7409 joerg.heinicke@xxxxxxxxx www.virbus.de
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] few question regarding th, Andrew Welch | Thread | RE: [xsl] few question regarding th, Andrew Welch |
[xsl] xsl:document problem, Khalid | Date | [xsl] CALS and keys (difficult), Andrew Welch |
Month |