Re: [xsl] Newbie document() question

Subject: Re: [xsl] Newbie document() question
From: cutlass <cutlass@xxxxxxxxxxx>
Date: Fri, 12 Jan 2001 17:13:29 +0000

Edmund Mitchell wrote:

How should I write a mostly-identity transformation that puts a.xml into a
specific child of b.xml and outputs the whole thing? I've tried

------------------------------------------------------------- method 1

use <xsl:copy-of select='document("somexmldocument.xml")'/>

mehtod 2 : include it using a DTD

<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE document [ <!ENTITY resourcedb SYSTEM 'file:/some/absolute/path/a.xml'> ]>


,jim fuller

XSL-List info and archive:

Current Thread