[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] giving xml a colonic: re-opening (or re-opining on)an old argument
- From: John Cowan <cowan@mercury.ccil.org>
- To: Amelia A Lewis <amyzing@talsever.com>
- Date: Sat, 10 Sep 2011 14:36:34 -0400
Amelia A Lewis scripsit:
> Some proposed best practices for a namespaces-light set of XML schemas >
and instances: no QNames in content. No prefixed elements (change the >
mapping of the default prefix: xmlns=). When foreign attributes are >
used, define the prefix mapping in the same element (xmlns:prefix= >
wherever prefix:name= appears).
MicroXML doesn't allow prefixed elements, only prefixed attributes.
But more to the point, namespaces are specified by ordinary attributes,
and if you move an element around (for example) its namespace may change.
This is part of the simplification of the data model to:
A tree of elements, each of which has a name (a string), an
attribute map (a map of strings to strings), and a list of
children (either elements or strings).
--
He played King Lear as though John Cowan <cowan@ccil.org>
someone had played the ace. http://www.ccil.org/~cowan
--Eugene Field
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]