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

Re: tree in 2 xml files

Subject: Re: tree in 2 xml files
From: Norman Walsh <ndw@xxxxxxxxxx>
Date: 19 Jun 2000 16:43:17 -0400
xml foo tree
/ "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


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

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.
Email
First Name
Last Name
Company
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.