Next in thread → Next in month →

RE: [xml-dev] XML Schema/attributeGroup and namespaces

From
Michael Kay <>
To
'Xia Li' <>, 'Stefan Krause' <>,
Date
2008-05-27T22:35:18Z
ID
<F71F66B1C643483186208ABCC4111438@Sealion>
Thread
RE: [xml-dev] XML Schema/attributeGroup and namespaces
> 	To make it qualified, you can explicitly set the 
> attribute "attributeFormDefault" on the "schema" element to 
> the value "qualified"
> so that all locally declared attributes including the "attr3" 
> would belong to the target namespace "http://bar".

Or more simply you can set form="qualified" on the xs:attribute element.

Michael Kay
http://www.saxonica.com/
Next in thread → Next in month →