[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Edmund Mitchell wrote:
use <xsl:copy-of select='document("somexmldocument.xml")'/>
<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE document [ <!ENTITY resourcedb SYSTEM 'file:/some/absolute/path/a.xml'> ]>
<resource>
<childofb>&resourcedb;<childofb>
</resource>
--------------------------------------------------------------
,jim fuller
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
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'> ]>
<resource>
<childofb>&resourcedb;<childofb>
</resource>
--------------------------------------------------------------
,jim fuller
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Newbie document() questio, G. Ken Holman | Thread | [xsl] Ignore the DTD, bryan . s . schnabel |
Re: [xsl] Newbie document() questio, G. Ken Holman | Date | Re: [xsl] Beware the count method w, Daniel Bowen |
Month |