xsl-list
[Top] [All Lists]

Re: Get value from update.xml and stored in source.xml(update source.xml)

2005-09-08 04:28:36
Tempore 13:14:57, die 09/08/2004 AD, hinc in 
xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com scripsit Shailesh 
<shailesh(_at_)quagnito(_dot_)net>:

My update.xml, source.xml and xslt are all in one folder.
So, I don't think there will be problem of variable is empty.

The variable *is* empty (your posted output proves this).

Try changing the path from relative
<xsl:variable name="update" select="document('update.xml')"/>

to absolute:
<xsl:variable name="update" 
select="document('file://localhost/C:/f/update.xml')"/>

(you need to adapt the path to your situation, of course)

regards,
--
Joris Gillis (http://users.telenet.be/root-jg/me.html)
Deserta faciunt et innovationem appelant

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--