[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] No html if XSD present?


Subject: Re: [xsl] No html if XSD present?
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 28 Jan 2004 11:45:06 GMT

> and took the namespace to be the place where structure and form are 
> defined..

Not really, it's just an abstract name for a set of element names, teh
actual document obtained by dereferencing the namespace URI (If there is
any such document) is arbitrary and unconnected to namespace processing.

For example, xslt elements are associated with the namespace
http://www.w3.org/1999/XSL/Transform
But an xsl engine never tries to dereference that URI, and if you try it
you just get a small place holder html document.

Your schema will (or can) specify the namespace of the element names
being used in the grammar defined in the schema.  This is typically (but
not always) different from the actual location of the schema.
If you do make the namespace name and the schema location the same, then
you want to place the schema in a relatively permanent, globally
accessible place: you don't want to have documents refering to local
copies of a schema effectively having the names of all the elements
depending on the location of your local copy.

David


-- 
http://www.dcarlisle.demon.co.uk/matthew

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. 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
________________________________________________________________________

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list



Current Thread
Keywords