Re: extracting statements from XML (again)

>   <element name="stock" type="nonNegativeInteger"
>     extract:subject="parent::widget"
>     extract:object="self::text()"
>   />

> Unfortunately, I'm led to believe that such adornment is illegal in
> Schema.

Actually, this is allowed in XML Schemas. See [1] where it says that all
elements in an XML Schema document are allowed to have attributes qualified
with namespaces other than the XML Schema namespace.

Jason.

[1]
http://www.w3.org/TR/xmlschema-1/#section-XML-Representations-of-Components

Received on Wednesday, 3 October 2001 03:34:48 UTC