Re: XSD to extend a "closed" schema

George Cristian Bina-2 wrote:
> 
> You can just use PIs and keep the schema as it is.
> 
> For example instead of
> 
> <official:configitem official:name="a_name" myeditor:x="100"
> myeditor:y="100"
> myeditor:colour="red"><official:childelement....></official:configitem>
> 
> you can have:
> 
> <?myeditor x=100 y=100 colour="red"?>
> <official:configitem official:name="a_name">
>    <official:childelement....>
> </official:configitem>
> 

Thanks for the suggestion. This could end up being a suitable workaround.
But really it is not an ideal solution because the myeditor:x and y
attributes really do belong to the dom node; as a PI they are a sibling in
the DOM and rely on third parties maintaining the sequence and not putting
additional elements in between. 
-- 
View this message in context: http://old.nabble.com/XSD-to-extend-a-%22closed%22-schema-tp27212594p27222526.html
Sent from the w3.org - xmlschema-dev mailing list archive at Nabble.com.

Received on Tuesday, 19 January 2010 08:43:04 UTC