Subject: Re: [xsl] Using xsl to test value of node From: David Carlisle <davidc@xxxxxxxxx> Date: Thu, 13 Dec 2001 15:34:18 GMT |
<xsl:if test() ="44639"/> XSL stylesheets have to be XML XML attribute names can't include () so this won't get past the XML parser, so the xslt engine won't see the stylesheet. You want <xsl:if test=".=44639"/> <xsl:apply-templates select="LOCATION_ID"/> in that template the current node is CHARACTER_ID so the above XPath would select LOCATION_ID children of CHARACTER_ID nodes, but there are not any, you want <xsl:apply-templates select="../LOCATION_ID"/> David _____________________________________________________________________ This message has been checked for all known viruses by Star Internet delivered through the MessageLabs Virus Scanning Service. For further information visit http://www.star.net.uk/stats.asp or alternatively call Star Internet for details on the Virus Scanning Service. XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
[xsl] Using xsl to test value of no, Ahmad J Reeves | Thread | Re: [xsl] Using xsl to test value o, Ahmad J Reeves |
[xsl] Using xsl to test value of no, Ahmad J Reeves | Date | RE: [xsl] Dumb questions from a new, Chris Bayes |
Month |