Subject: Re: rrrr, thought i knew template calling??
From: "Barry van Weldam" <barry@xxxxxxx>
Date: Wed, 12 Nov 2003 18:08:53 +0100
|
Thnks David,
For helping me out again. Just want to add the following:
I use xpathvisualiserseptember to check my xPath expressions.
When i just use "Row" it isn't highlighting anything, but it doesn't give a error either.
Are there any pitfalls i must take in consideration while using xpathvisualiserseptember.
For a noob like me it is a great tool to see what you are selecting with your xPath expression.
Grtz,
B
----- Original Message -----
From: "David Carlisle" <davidc@xxxxxxxxx>
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
Sent: Wednesday, November 12, 2003 5:48 PM
Subject: Re: rrrr, thought i knew template calling??
>
> <xsl:template match="//Row">
>
> use "Row" here (the // doesn't do anything useful)
>
> <xsl:template match="//Row/*">
>
> use "Row/*" here (the // doesn't do anything useful)
>
>
> I thought i could use:
> <xsl:apply-templates select="/*" />
> because the Data nodes are the child of node Row, but this doesn't work any ideas?
>
> /* selects child(ren) elements of the document root, you want ./* or
> more simply just * to select children of the current node.
>
>
> David
>
> --
> http://www.dcarlisle.demon.co.uk/matthew
>
> ________________________________________________________________________
> This e-mail has been scanned for all viruses by Star Internet. The
> service is powered by MessageLabs. For more information on a proactive
> anti-virus service working around the clock, around the globe, visit:
> http://www.star.net.uk
> ________________________________________________________________________
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
>
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|