Subject: Re: [xsl] mixing it up: REST+XML Namespaces + XLST From: David Carlisle <davidc@xxxxxxxxx> Date: Tue, 19 Apr 2005 10:37:15 +0100 |
in general looking up namespace uris for anything is evil evil evil, however if you must do it (and sometimes it does seem an attractive idea) I strongly suggest that you put a rddl document at the namespace uri an use that to cross reference to your application data. That costs you something in following the indirection but you gain a lot in not forever blocking other uses of the namespace URI by having your application data sat there. A RDDL document is essentialy an XHTML document so if you go to the namespace uri in a web browser you get a human readable discription but with extra elements in the rddl namespace that allow references to schemas stylesheets and anything else of intereset. At least some schema validators (xsv for example) will correctly parse a rddl file and locate an xsd schema, if it happens to come accross one while following the "hints" on where to find a schema document. (isn't this more of an xml-dev thread than xsl-list) David ________________________________________________________________________ This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] mixing it up: REST+XML Na, M. David Peterson | Thread | Re: [xsl] mixing it up: REST+XML Na, James Fuller |
Re: [xsl] mixing it up: REST+XML Na, M. David Peterson | Date | Re: [xsl] mixing it up: REST+XML Na, Eric van der Vlist |
Month |