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 18:09:19 +0530
Hi, 

The extra content problem is solved.
You are write  $update was being defined correctly.

Thanks,
Shailesh 

-----Original Message-----
From: Shailesh [mailto:shailesh@xxxxxxxxxxxx] 
Sent: Wednesday, September 08, 2004 5:59 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxx]
Sent: Thursday, September 08, 2005 5:31 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
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
________________________________________________________________________

Current Thread