[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] Get value from update.xml and stored in source.xml(update source.xml)


Subject: RE: [xsl] Get value from update.xml and stored in source.xml(update source.xml)
From: "Shailesh" <shailesh@xxxxxxxxxxxx>
Date: Wed, 8 Sep 2004 17:06:38 +0530

Hi,

I have get 0

--
Shailesh 

-----Original Message-----
From: David Carlisle [mailto:davidc@xxxxxxxxx] 
Sent: Thursday, September 08, 2005 5:01 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [xsl] Get value from update.xml and stored in source.xml(update
source.xml)



> My update.xml, source.xml and xslt are all in one folder.
that may not be relevant, it depends how you pass it in to xslt, If (for
example) your program makes a string of the stylesheet content and then
parses that to get a dom to pass to msxml, the original stylesheet location
is lost.


> So, I don't think there will be problem of variable is empty.

don't guess: add

<xsl:value-of select="count($update/*)"/>

to your output, do you get 1 or 0 ?

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The service is powered
by MessageLabs. For more information on a proactive anti-virus service
working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________


Current Thread
Keywords