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


Help: OASIS Mailing Lists Help | MarkMail Help



   Re: [xml-dev] Tree v. Table - A relational XML object model...?

[ Lists Home | Date Index | Thread Index ]
  • To: xml-dev@lists.xml.org
  • Subject: Re: [xml-dev] Tree v. Table - A relational XML object model...?
  • From: "Thomas B. Passin" <tpassin@comcast.net>
  • Date: Mon, 03 Mar 2003 01:39:18 -0500
  • References: <E18oMGa-0005t3-00@mercury.ccil.org><p04330102ba83b5f45841@[]>

[Elliotte Rusty Harold]

> Does it really? It seems to fit pretty nicely to me. For example,
>     <doc>This is <strong>very</strong> important.</doc>

You turn mixed content into non-mixed elements (temporarily, for the
purposes of storage or table-modeling) by instantiating  an implied _text_
element for each fragment of PCDATA.  You use an illegal "element" name so
that you can later distinguish between PCDATA pseudo-elements and real
elements.  The mixed example becomes, say,

<doc><~text>This is</~text> <strong><~text>very</~text></strong>

It looks awful but its function is not to be read and written but to be
crammed into a table model.


Tom P


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS