Hassan Schroeder wrote:
Geoff Deering wrote:
So what is the problem with documents in OASIS ODF?
Given that folks are probably tired of this discussion, I'll just
say that ODF is an XML description of a document (including style),
which offers no hint as to the semantics of the *content* of that
document. It's completely orthogonal to the kind of content (data)
granularity I'm talking about.
If I may say so, I think a lot of XML professionals would be surprised
to see ODF defined as you have done above.
Just to take your example of granularity;
<author>
<givenName/>
<middleInitial/>
<surName/>
</author>
In ODF;
<define name="paragraph-content" combine="choice">
<element name="text:author-name">
<ref name="common-field-fixed-attlist"/>
<text/>
</element>
</define>
<define name="paragraph-content" combine="choice">
<element name="text:author-initials">
<ref name="common-field-fixed-attlist"/>
<text/>
</element>
</define>
---------------
Geoff Deering
*********************************************************
The CMS discussion list for http://webstandardsgroup.org/
*********************************************************