xsl-list
[Top] [All Lists]

Re: rrrr, thought i knew template calling??

2003-11-12 10:08:53
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(_at_)nag(_dot_)co(_dot_)uk>
To: <xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com>
Sent: Wednesday, November 12, 2003 5:48 PM
Subject: Re: [xsl] 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



<Prev in Thread] Current Thread [Next in Thread>