Results 1 to 2 of 2

Thread: Content question....

  1. #1

    Thread Starter
    Addicted Member thedoc1's Avatar
    Join Date
    Jan 2002
    Location
    Scenic Tonawanda, NY
    Posts
    143

    Content question....

    7313.1

    I have this xml code



    <?xml version="1.0" ?>

    <Schema name="Xfer5300Schema" xmlns="urn:schemas-microsoft-com:xml-data" xmlns:dt="urn:schemas-microsoft-com:datatypes">

    <AttributeType name="CharterNumber" dt:type="int" />

    <AttributeType name="Region" dt:type="int" />

    <AttributeType name="CheckDigit" dt:type="int" />

    <AttributeType name="CUName" dt:type="string" />

    <AttributeType name="CycleDate" dt:type="string" />

    <AttributeType name="Form" dt:type="string" />

    <AttributeType name="AcctType" dt:type="string" />

    <AttributeType name="AcctNo" dt:type="string" />

    <AttributeType name="AcctValue" dt:type="string" />

    <AttributeType name="Override" dt:type="boolean" />

    <ElementType name="DummyElt" dt:type="string" model="closed" />

    <ElementType name="Account" content="eltOnly" model="closed">

    <attribute type="AcctType" required="yes" />

    <attribute type="AcctNo" required="yes" />

    <attribute type="AcctValue" required="yes" />

    <attribute type="Override" required="no" />

    <element type="DummyElt" minOccurs="0" maxOccurs="1" />

    </ElementType>

    <ElementType name="Cycle" content="eltOnly" model="closed">

    <attribute type="CycleDate" required="yes" />

    <attribute type="Form" required="no" />

    <element type="Account" minOccurs="1" maxOccurs="*" />

    </ElementType>

    <ElementType name="CreditUnion" content="eltOnly" model="closed">

    <attribute type="CharterNumber" required="yes" />

    <attribute type="CheckDigit" required="yes" />

    <attribute type="Region" required="no" />

    <attribute type="CUName" required="yes" />

    <element type="Cycle" minOccurs="1" maxOccurs="*" />

    </ElementType>

    <ElementType name="Transmission" content="eltOnly" model="closed">

    <element type="CreditUnion" minOccurs="1" maxOccurs="*" />

    </ElementType>

    </Schema>



    Tell me what content="eltOnly" means please...

    The Real Doc
    Thanks

    Doc

  2. #2
    Banished Cander's Avatar
    Join Date
    Dec 2000
    Location
    Why do you care?
    Posts
    6,913
    Stack Overflow
    See the features of Visual Studio 2010 and C# 4.0: The 10-4 show on Channel9

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width