[XMLSCHEMA-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: reference to element, elementFormDefault unqualified

From: Michael Kay <mike@saxonica.com>
Date: Thu, 13 Apr 2006 19:05:34 +0100
To: "'Oliver Kusche'" <oli@trip.net>, <xmlschema-dev@w3.org>
Message-ID: <E1FU6CP-0001U2-BZ@aji.w3.org>
RE: reference to element

> Thanks for pointing this out. I'm merely setting
> elementFormDefault="unqualified" to hide namespaces from my 
> instance documents
> so that it's not visible which component an element belongs 
> to (making 
> instance
> documents a lot more readable).
> 
> So do you suggest that's not really a good practice?

It's the wrong mechanism for the job (and doesn't achieve the aim). You can
achieve what you want with a default namespace in the instance document.

Michael Kay
http://www.saxonica.com/
Received on Thursday, 13 April 2006 18:05:50 GMT

Subscribe to the Stylus Scoop newsletter for helpful XML tips and tutorials.
Email
First Name
Last Name
Company

Download Stylus Studio 6 XML Enterprise Edition

Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.