|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: tree in 2 xml files
/ "Yasser El-Zein" <xsl_list@xxxxxxxxxxx> was heard to say:
| Can the wollowing case be implemented in XML?
|
| The element node (elmA) in the tree defined in (A.xml) is the root node of
| the tree defined in (B.xml)
Uh, is this what you're after?
A.xml:
<!DOCTYPE foo [
<!ENTITY B.xml SYSTEM "B.xml">
]>
<foo>
<bar>
&B.xml;
</bar>
</foo>
B.xml:
<moo>
<goo/>
</moo>
There's no way to make both A.xml and B.xml *valid*, because you can't
embed a document that begins with a DOCTYPE declaration, but for
well-formed documents, this is one way to achieve what I think you're
after.
Be seeing you,
norm
--
Norman Walsh <ndw@xxxxxxxxxx> | Labor, n. One of the processes by which
http://nwalsh.com/ | A acquires property for B.--Ambrose
| Bierce
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








