Altova Mailing List Archives>Archive Index >comp.text.xml Archive Home >Recent entries >Thread Prev - Re: include file problem: namespaces? >Thread Next - Re: include file problem: namespaces? Re: include file problem: namespaces?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 | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
