xsl-list
[Top] [All Lists]

RE: Embeding xml inside another xml using xslt

2005-03-02 01:38:42

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(_at_)nag(_dot_)co(_dot_)uk]
Sent: Monday, February 28, 2005 8:50 PM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
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
________________________________________________________________________

--~------------------------------------------------------------------
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>
--~--




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(_at_)wipro(_dot_)com immediately
and destroy all copies of this message and any attachments.

--~------------------------------------------------------------------
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>
--~--



<Prev in Thread] Current Thread [Next in Thread>