OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

ubl-dev message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Basic Invoice - How Names Are Linked / Determined


Hi,

I'm nearly there. Thanks for your answers.

A bit of clarification on what is following what here [if any] with regards names.

1. The tag name <tagname></tagname> is taken from ref attribut value "cac:InvoicePeriod" even though the element name is "InvoicePeriod" in cac [as otherwise namespaces wouldn't function. Correct?

2. In this line in Invoice:
<ccts:DictionaryEntryName>Invoice. Invoice_ Period. Period</ccts:DictionaryEntryName>

To determine what should be after Invoice_ Period. we look for the ObjectClass tag of the next level in this case the complex type definition. Correct?

<ccts:ObjectClass>Period</ccts:ObjectClass>

3. If that be the case then where do we get the string "details" in:
<ccts:DictionaryEntryName>Period. Details</ccts:DictionaryEntryName>

and the string "Date" in:
<ccts:DictionaryEntryName>Period. Start Date. Date</ccts:DictionaryEntryName>


invoice:

      <xsd:element ref="cac:InvoicePeriod" minOccurs="0" maxOccurs="unbounded">
        <xsd:annotation>
          <xsd:documentation>
            <ccts:Component>
              <ccts:ComponentType>ASBIE</ccts:ComponentType>
              <ccts:DictionaryEntryName>Invoice. Invoice_ Period. Period</ccts:DictionaryEntryName>
              <ccts:Definition>An association to period(s) to which the Invoice applies.</ccts:Definition>
              <ccts:Cardinality>0..n</ccts:Cardinality>
              <ccts:ObjectClass>Invoice</ccts:ObjectClass>
              <ccts:PropertyTermQualifier>Invoice</ccts:PropertyTermQualifier>
              <ccts:PropertyTerm>Period</ccts:PropertyTerm>
              <ccts:AssociatedObjectClass>Period</ccts:AssociatedObjectClass>
            </ccts:Component>
          </xsd:documentation>
        </xsd:annotation>
      </xsd:element>


cac:

  <xsd:element name="InvoicePeriod" type="PeriodType"/>

  <xsd:complexType name="PeriodType">
    <xsd:annotation>
      <xsd:documentation>
        <ccts:Component>
          <ccts:ComponentType>ABIE</ccts:ComponentType>
          <ccts:DictionaryEntryName>Period. Details</ccts:DictionaryEntryName>
          <ccts:Definition>Information about a period of time.</ccts:Definition>
          <ccts:ObjectClass>Period</ccts:ObjectClass>
        </ccts:Component>
      </xsd:documentation>
    </xsd:annotation>
    <xsd:sequence>
      <xsd:element ref="cbc:StartDate" minOccurs="0" maxOccurs="1">
        <xsd:annotation>
          <xsd:documentation>
            <ccts:Component>
              <ccts:ComponentType>BBIE</ccts:ComponentType>
              <ccts:DictionaryEntryName>Period. Start Date. Date</ccts:DictionaryEntryName>
              <ccts:Definition>The start date of the period.</ccts:Definition>
              <ccts:Cardinality>0..1</ccts:Cardinality>
              <ccts:ObjectClass>Period</ccts:ObjectClass>
              <ccts:PropertyTerm>Start Date</ccts:PropertyTerm>
              <ccts:RepresentationTerm>Date</ccts:RepresentationTerm>
              <ccts:DataType>Date. Type</ccts:DataType>
            </ccts:Component>
          </xsd:documentation>
        </xsd:annotation>
      </xsd:element>

cbc:

  <xsd:element name="StartDate" type="StartDateType"/>



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]