[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Namespace Catalogue Hackery (long, mostly code)
Uche Ogbuji wrote, > So I was thinking more about implementing nameapace catalogs in > XSLT, and of course extensions aren't necessary. Here is some > hackery on the concept. [snip: lots of code] Umm ... but it doesn't address the substitution issue. Sure, if I have a document which conveniently includes a PI redirecting namespace URI resolution to my chosen substitue catalog. But I don't have any reason to expect that to be the case for every arbitrary doc I might want to process. So it looks as though I'd have to perform an initial transform to insert the relevant PIs for each of the namespaces of interest. But do we _really_ want to have to transform a document simply to modify it's associations with other resources? I we _have_ to that's only because the existing proposals hard-wire the catalog into the document instance via its embedded namespace URI. To my mind that's a mistake ... we need another level of indirection. Cheers, Miles -- Miles Sabin InterX Internet Systems Architect 5/6 Glenthorne Mews +44 (0)20 8817 4030 London, W6 0LJ, England msabin@i... http://www.interx.com/
|
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
|