You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@xmlbeans.apache.org by Jorg Heymans <jh...@domek.be> on 2004/12/02 08:49:08 UTC
retrieving xsd:anyAttribute
Hi,
I have a complexType similar to
<xs:complexType name="layer">
<xs:sequence>
<xs:element name="A" type="xs:string"/>
<xs:element name="B" type="xs:string"/>
</xs:sequence>
<xs:attribute name="visible" type="xs:boolean" use="required"/>
<xs:anyAttribute/>
</xs:complexType>
I was hoping to do something like
Iteration it = Layer.getAnyAttributes()
AnyAttribute aa = it.next();
aa.getName(); aa.getValue;
but that is obviously not how it works :) I've read various posts about
this and also the wiki [1], but couldn't find what i needed.
If [1] is the way to go for this, how do i get to selectChildren in v1?
Is this a v2 feature only? If so, is v2 production worthy?
Kind Regards
Jorg Heymans
[1] http://wiki.apache.org/xmlbeans/SelectChildrenAndAttributesFeature
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: user-help@xmlbeans.apache.org