[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] Generic XML Tag Closer </> (GXTC)
- From: "Eric Bréchemier" <eric.brechemier@gmail.com>
- To: "Robin Berjon" <robin.berjon@expway.fr>
- Date: Mon, 21 Aug 2006 13:20:08 +0200
Hi Robin,
On 8/21/06, Robin Berjon wrote:
> On Aug 18, 2006, at 11:40, Eric Bréchemier wrote:
> >> Any opinion is fine, useful, crazy, nonsense, should be done,
> >> must not coz it's going to break many things ...
> >
> > I would propose the following, standard-compliant approach,
> > illustrated by the sample below:
> >
> > <?xml version="1.0" encoding="UTF-8" ?>
> > <!DOCTYPE _ [
> > <!ELEMENT _ (#PCDATA|_)* >
> > <!ATTLIST _ _ CDATA #REQUIRED>
> > ]>
> > <_ _='document'>
> > <_ _='head'>
> > <_ _='title'>ScoreXML</_>
> > </_>
> > <_ _='body'>
> > <_ _='p'>This is a ScoreXML sample</_>
> > </_>
> > </_>
> >
> > The overhead is only one character for end-tags (six for start-tags),
> > and there is a 1-1 mapping to any xml document...
>
> Do you have an example of that using namespaces?
>
I don't think using namespaces would do any good for that matter; it
leads to way too much overhead with all the 'xmlns:' and element
prefixes, and namespace declarations are just too long for any user
typing xml by hand.
Regards,
Eric Bréchemier
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]