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

Re: XLink transformations

  • From: Martin Bryan <mtbryan@s...>
  • To: Ben Trafford <ben@l...>, xml-dev@x...
  • Date: Tue, 18 Jul 2000 08:26:40 +0100

Re: XLink transformations
Ben

>          There are interesting issues around recursion of links (what 
> happens if I call a document that calls a document that calls a document, 
> and so forth) and what stylesheet properties to include (what happens when 
> I call a document with its own stylesheet, does mine override it? What 
> happens when the two documents share the same element names?). I've 
> resolved the former issue with a simple error catching if too much 
> recursion happens (and recursion levels can be set as a variable in the 
> tool), and the latter using a fairly complicated scheme where onLoad 
> documents are brought in with their stylesheet declaration and some nifty 
> namespace magic.

Its interesting that you've raised this issue with the XLink group as I've just raised a similar issue with the XInclude group (what happens if the included object has an attached stylesheet - what is its scope?). They pointed out to me that xsl-stylesheet PIs are only valid if the occur in the prolog, so any included stylesheet calls are invalid. Presumably the same applies to documents that are linked to another document as the PI therefore does not get placed in the combined tree at a valid point. The question I raised was whether it shouldn't be a requirement that PIs that are known to be invalid in context be stripped from the inclusion tree.

Martin Bryan


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
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

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.