[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Copying nodes from other than the input file

Subject: Re: Copying nodes from other than the input file
From: Joerg Heinicke <joerg.heinicke@xxxxxx>
Date: Thu, 01 Aug 2002 19:18:50 +0200
copying html document
Hello Maik,

it's not correct, that <xsl:copy-of/> only works on input file. You can also use <xsl:copy-of select="document('another.xml')/html/body"/>. I see only one problem: You speak of HTML. For working with document() it has to be XML or here well-formed XHTML.



Maik Stührenberg wrote:

my problem: in an XML document it is allowed to embed another HTML document (an imagemap). The HTML document is referenced by a metadata called "location" which contains the URL. I'm searching for a way to copy the HTML <body> node into the output file. But xsl:copy-of works on the input file only. Is there any way to get the content of the embedded HTML file into the output file?
Thanks in advance for any comments.

Maik Stührenberg

XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list

Current Thread


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.