Subject: RE: [xsl] Embeding xml inside another xml using xslt|
Date: Wed, 2 Mar 2005 14:08:42 +0530
Hi David, Thanks for your reply. In my case I am getting the XML String at run time. My programme wont have any knowledge about the xml file name location. Thanks, Babu -----Original Message----- From: David Carlisle [mailto:davidc@xxxxxxxxx] Sent: Monday, February 28, 2005 8:50 PM To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx Subject: Re: [xsl] Embeding xml inside another xml using xslt Your desired output is not well formed XML so XSLT makes it difficult to create. Do you really want this forat, it won't be possible to process it with any XML tool. You can't have an XML declaration <?xml ... anywhere other than the first few characters of the document. If you don't want the xml declaration there then your xslt just needs <address> <xsl:copy-of select="document('the2ndfile.xml')"/> </address> and the contents will be copied in to the result. 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 ________________________________________________________________________ Confidentiality Notice The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender at Wipro or Mailadmin@xxxxxxxxx immediately and destroy all copies of this message and any attachments.