Hi,
The extra content problem is solved.
You are write $update was being defined correctly.
Thanks,
Shailesh
-----Original Message-----
From: Shailesh [mailto:shailesh(_at_)quagnito(_dot_)net]
Sent: Wednesday, September 08, 2004 5:59 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: RE: [xsl] Get value from update.xml and stored in source.xml(update
source.xml)
Hi,
Yes, I don't want the number in the output.
I have removed that but now it's giving me proper output with some extra
contents in the root tag <test> followed by <chapter>.
Output:
<?xml version="1.0" encoding="utf-8" ?>
- <test>
ABCD WXYZ -----------extra content
- <chapter>
ABCD WXYZ -----------extra content
- <test1 id="0000001">
<test2>ABCD</test2>
</test1>
- <test1 id="0000002">
<test2>WXYZ</test2>
</test1>
</chapter>
</test>
--
Shailesh
-----Original Message-----
From: David Carlisle [mailto:davidc(_at_)nag(_dot_)co(_dot_)uk]
Sent: Thursday, September 08, 2005 5:31 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] Get value from update.xml and stored in source.xml(update
source.xml)
Needs to add "<xsl:value-of
select="count($update/*)"/>" which gives the perfect output.
??
you don't want that number in the output, surely, that's just debugging
information to check that $update was being defined correctly.
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
________________________________________________________________________
--~------------------------------------------------------------------
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>
--~--
--~------------------------------------------------------------------
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>
--~--
--~------------------------------------------------------------------
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>
--~--