Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: include file problem: namespaces?

From: Joe Kesselman <keshlam-nospam@-------.--->
To: NULL
Date: 5/5/2006 10:05:00 PM

maxwell@l... wrote:
>> External entities are uncommon in recent documents.
> I suppose there's a reason for that.

They're supported only by DTDs, not schemas. And, as you reminded me, 
they aren't namespace-aware, which is a Bad Thing.

 > What should I be using instead,

Sigh. The closest equivalent is XInclude 
(http://www.w3.org/TR/2004/REC-xinclude-20041220/), but widespread 
support for that at the parser level has been a slow in arriving because 
there hasn't been a lot of demand for it..

It's not uncommon for folks to kluge up an implementation of XInclude by 
using an XSLT stylesheet that recognizes the XInclude directives and 
generates a new document that replaces them with the information they 
reference. (Stylesheets which provide this function can be found on the 
web, with a bit of searching.) Of course that requires that you 
explicitly run the document through an XSLT processor to execute that 
stylesheet, in addition to any other processing (including additional 
stylesheets) you want to apply to it.


-- 
() ASCII Ribbon Campaign  | Joe Kesselman
/\ Stamp out HTML e-mail! | System architexture and kinetic poetry


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent