xsl-list
[Top] [All Lists]

Re: rrrr, thought i knew template calling??

2003-11-12 09:48:18

  <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