Re: Fwd: Re: [xsl] xsl help

Subject: Re: Fwd: Re: [xsl] xsl help
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 24 Jan 2001 17:28:58 GMT
several things appear strange:

	  <xsl:call-template name="DL"/>
<!-- you have to modify each 'select="blabla"' so that it looks like
'select="//DSCR[1]/blabla"' -->
<!---xsl:message>Running firstDSCR</xsl:message-->
		<xsl:with-param name="i" select="number($i) +1"/>

with-param can only appear as the child of call-template or
apply-templates. This call appears to be floating.

<xsl:for-each select="//DL">

OK, although // is rather expensive search of the whole document, 
if you know DL are children of OBFExtract then 

<xsl:for-each select="DL">

would be better.

But then strangely for each of these DL nodes, you make a table and fill
it with things like

<xsl:value-of  select="//DL/DSCR[1]/pon"/>

which means that you ignore the current DL node and always put the same
data in all the tables.

Don't you want the DSCR child of the current DL, which would be


 XSL-List info and archive:

Current Thread