|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Fwd: Re: xsl help
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








