[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Fwd: Re: xsl help

Subject: Re: Fwd: Re: xsl help
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 24 Jan 2001 17:28:58 GMT
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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.