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

 


Help: OASIS Mailing Lists Help | MarkMail Help

ebxml-core message

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


Subject: Re: Getting Back to Basics - How to describe Dates and Times andEvents?


William suggested:

> <docRef>
>   <docType>Invoice</docType>       (required)
>   <docNum>ABC-12345</docNum>       (required)
> </docRef>

I would prefer the much simpler

<docRef docType="http://www.ebXML.org/Messages/Invoice">ABC-12345</docRef>

Note two things about this example:

1) There is only a single element, with no substructure

2) The element references a URI that uniquely identifies the type. This
value is neither an uninterpretable code or a language specific
representation. It is simply a pointer to an information resource which is
already stored in an ebXML registry.

Martin Bryan



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

Search: Match: Sort by:
Words: | Help


Powered by eList eXpress LLC