Re: DOCTYPE handling in XML
Petr Pajas <[email protected]>
| Newsgroups | gmane.comp.lang.perl.xml |
|---|---|
| Organization | UFAL MFF UK |
| Message-ID | <[email protected]> |
Dne Wednesday 22 October 2008 19:46:39 Michael Ludwig napsal(a): > >> You can use XInclude as an alternative mechanism in many cases. > > > > And this is relevant to the problem exactly how? > > Yes, how could XInclude be used to preserve entity declarations? Or > would you include a XInclude reference to another document containing > those entity declarations? The entity references would still be gone > after the XSL stage, though, would they not? Sure. I think the point there (and my wabout XLink previously) was that today's XML technologies provide means that completely replace DTDs and external entities with something that can be easily processed by XSLT or manipulating a DOM tree. I understand the need to process DTDs and external entities when dealing with legacy XML formats, but otherwise I see those as anachronisms. The only thing that has no "pure-XML replacement" is internal entities, but those are hard to preserve in most processing scenarios anyway. -- p _______________________________________________ Perl-XML mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs