Altova Mailing List Archives


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

From: "Shailesh" <shailesh@------------>
To:
Date: 9/8/2005 12:29:00 PM
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
________________________________________________________________________

Disclaimer

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.