 |
 |
 |
>From what I can see,
<xs:anyAttribute namespace="##any" processContents="skip"/>
seems to do what you want.
Michael Kay
http://www.saxonica.com/
> -----Original Message-----
> From: xmlschema-dev-request@w...
> [mailto:xmlschema-dev-request@w...] On Behalf Of Debora Vanni
> Sent: 10 January 2007 11:46
> To: xmlschema-dev@w...
> Subject: <AnyKindOfAttributes>
>
>
> Hi!
> Is there a way to have a schema that allow an element to have
> a certain number of attributes without defining them? I
> better explain:
> <foo attr1 = "34" attr2 = 245">
> [...]
> </foo>
> or
> <foo attr5 = "3pp">
> [...]
> </foo>
> are ok, but I don't know and I don't want to care about names
> and types of attributes.
> So the schema would be
> <xs:element name="foo">
> <xs:complexType>
> <xs:all>
> [...]
> </xs:all>
> <AnyKindOfAttributes>
> </xs:complexType>
> </xs:element>
>
> I know that there is
> <xs:anyAttribute/>
> but it's not ok because you must define attributes somewhere,
> and I don't know nothing about them.
> I just want to make sure that the element "foo" exists and it
> is of a complex type described by [...], but I just know that
> it will have some attributes I don't know how many and which.
> Thanks
> Debora
> --
>
>
> Debora Vanni - TVBLOB S.r.l.
> Software Engineer
>
> debora.vanni@t...
>
>
> ______________________________________________________________
> __________
> TVBLOB srl
> A new way to communicate ...thru your TV!
>
> Via G. Paisiello, 9 - 20131 Milano, Italia
> T: +39 02 3656 2440
> F: +39 02 2040 8347
> www.tvblob.com
>
>
>
>
From nucci@a... Wed Jan 10 14:35:34 2007
Received: from wiggum.w3.org ([128.30.52.23])
by frink.w3.org
|
 | 

|  |
These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.
|  |
| |
 |
 |
 |