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

RE: reccursive sum ?

Subject: RE: reccursive sum ?
From: "Ricaud Matthieu" <matthieu.ricaud@xxxxxxx>
Date: Tue, 2 Mar 2004 14:38:48 +0100
jeff kenton sum product
Thanks a lot David for the explanations. I took the habit to use too much
variables, and as I learnt xsl on my own, nobody told me about this (and
many other things for sure). So really thanks and if you notice others
"mistakes", don't hesitate ! It's just like  learning a speaking language,
if you always say the same mistakes and people don't correct you, then you
think it's the good way to say it...

About the problem of concat to get the xml file name : I must display the
name of the ME to the user, it shall not be a .xml. I could use
<xsl:value-of select = "substring-before(ME/@id,'.xml')"/> to just display
the name of the ME if i change id to XXXX.xml
The problem is that the whole project is already done with <ME id="0041">
without .xml.
It's right i could add .xml everywhere with a simple script... I'll think
about it when i find the time.
Do you think it will bring a lot ? will it go faster ?

There's one thing I don't really understood :

"But unfortunately using concat produces a string which stops document()
automatically taking the union of all the documents in the node set."

I don't see the link between concat id + ".xml" and the <xsl:value-of
select="document($theFileName)..."/>
$theFileName is not a node set, no ?


 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.