[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: AND (Another Namespace Dilemma) ... DTD Validation
On 09 Aug 2001 13:33:17 -0400, mrossi@c... wrote: > OK, I've been watching Namespaces threads looking for this answer, but no > one seems to have yet hit the head of this particular nail. So ... if > Namespace prefixes are irrelevant, how do I write a (namespace-aware) DTD > to validate a document instance? Take the following for example: You may want to check out the DTD for Modularization of XHTML[1,2]. There's a fairly astounding workaround used there. It's not especially pleasant, but it does work. One caveat: the namespace prefix still can't change over the course of a single document. [1] - http://www.w3.org/TR/xhtml-modularization/dtd_module_rules.html#s_dtd_module_rules [2] - http://www.w3.org/TR/xhtml-modularization/dtd_module_defs.html#a_dtd_module_defs
|
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
|