|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: XML source with DOCTYPE declaration
Hi David,
At 10:49 PM 4/20/01, you wrote: > This suggests there's a top-level switch intended to turn namespace > prefixes on the names on and off. Ah -- so the namespace _declaration_ is there in the DTD regardless of whether you allow for prefixes? Still, the existance of other declarations Zeljko cited -- <!ENTITY % NS.prefixed "IGNORE"> <!ENTITY % XHTML.prefixed "%NS.prefixed;"> <!ENTITY % XHTML.xmlns "http://www.w3.org/1999/xhtml"> <!ENTITY % XHTML.prefix ""> <!ENTITY % XHTML.xmlns.attrib "xmlns %URI.datatype; #FIXED '%XHTML.xmlns; %XLINK.xmlns.attrib;"> suggests that a similar kind of surgery, albeit deeper, might suffice to get the DTD to suppress its hard-wired namespace declarations. Admittedly, it might be going a bit further than the designers intended. But the basic requirement of being able to use the same XSLT on documents with or without the DOCTYPE declaration, without a big song and dance in the stylesheet, seems quite reasonable to me. Namespaces are nicely enabling for some things; for others they just seem to get in the way. Makes my head hurt. Regards, Wendell ====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ====================================================================== XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|

Cart








