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

Re: Embedded XML/XSL documents

Subject: Re: Embedded XML/XSL documents
From: Sara Mitchell <smitchel@xxxxxxxxxx>
Date: Mon, 12 Jul 1999 11:04:23 -0700
xml xsl embed
I'm not positive about the "associated stylesheets" issue 
(haven't yet worked with this), but XSL does support embeded
documents if you use the general entity notation of XML.
In other words, there isn't a command in XSL, but there is 
a method in XML that XSL supports. For your example, this is 
what it would look like: 

<?xml version="1.0">
<!DOCTYPE Root SYSTEM root.dtd
[<!ENTITY left SYSTEM "/LChild.xml">
<!ENTITY right SYSTEM "/RChild.xml">]
<Root>
   <LeftChild>
   &left;
   </LeftChild>
   <RightChild>
   &right;
   </RightChild>
</Root>

Note that the entities left and right that are used to embed
the content must be declared in the internal subset (stuff 
in the DOCTYPE declaration of an XML document that is between 
[ and ]). 

Sara Mitchell

> Russell Allen wrote:
> 
> Does xml/xsl support nested remote documents?  For example:
> 
> Root.xml:
> <Root>
>   <LeftChild>
>     <?import SRC="/LChild.xml"/>
>   </LeftChild>
>   <RightChild>
>     <?import SRC="/RChild.xml"/>
>   </RightChild>
> </Root>
> 
> LChild.xml:
> <E1>
>   ...data...
> </E1>
> 
> RChild.xml:
> 
> <E2>
>   ...data...
> </E2>
> [snip]


 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.