[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Embedded XML/XSL documents
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
|
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
|