Ryan wrote:
> So, according to the original xsd, would this be valid:
>
> <transaction>
The original xsd you posted only defined a complexType named
transaction, not an element of that name.
If you define
<xs:schema xmlns

s="http://www.w3.org/2001/XMLSchema">
<xs:element name="transaction" type="transaction"/>
<xs:complexType name="transaction">
<xs:choice minOccurs="1" maxOccurs="unbounded">
<xs:sequence minOccurs="1" maxOccurs="unbounded">
<xs:element name="account_login"
type="xs:string" minOccurs="0" maxOccurs="unbounded" />
<xs:element name="create_id"
type="xs:string" minOccurs="0" maxOccurs="unbounded" />
<xs:element name="org_create"
type="xs:string" minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
</xs:choice>
</xs:complexType>
</xs:schema>
then I think your sample is valid.
--
Martin Honnen
http://JavaScript.FAQTs.com/