This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Fwd: Re: xsl help
- To: xsl-list at lists dot mulberrytech dot com
- Subject: Re: Fwd: Re: [xsl] xsl help
- From: David Carlisle <davidc at nag dot co dot uk>
- Date: Wed, 24 Jan 2001 17:28:58 GMT
- References: <a05001914b694b6285563@[192.168.254.9]>
- Reply-To: xsl-list at lists dot mulberrytech dot com
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
DSCR[1]/pon
David
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list