atom feed23 messages in org.oasis-open.lists.docbookDOCBOOK: Re: XML Schemas and docbook ...
FromSent OnAttachments
Earl BinghamNov 15, 2001 4:23 pm 
Phillip SheltonNov 15, 2001 4:26 pm 
Norman WalshNov 15, 2001 5:37 pm 
Elliotte Rusty HaroldNov 16, 2001 7:58 am 
Elliotte Rusty HaroldNov 16, 2001 7:58 am 
Dave PawsonNov 16, 2001 10:13 am 
Michael SmithDec 7, 2001 2:08 am 
Michael SmithDec 7, 2001 5:03 am 
Norman WalshDec 9, 2001 10:07 am 
Norman WalshDec 9, 2001 10:07 am 
Michael SmithDec 9, 2001 3:18 pm 
Yann DirsonDec 10, 2001 1:09 am 
Norman WalshDec 10, 2001 8:10 am 
Norman WalshDec 10, 2001 8:10 am 
Yann DirsonDec 10, 2001 8:46 am 
Karl EichwalderDec 15, 2001 10:24 am 
Norman WalshDec 15, 2001 12:11 pm 
Norman WalshDec 15, 2001 12:11 pm 
Dave PawsonDec 15, 2001 10:36 pm 
Jirka KosekDec 16, 2001 3:05 am 
Norman WalshDec 17, 2001 11:44 am 
Bernd KreimeierDec 17, 2001 8:22 pm 
Bernd KreimeierDec 18, 2001 10:13 am 
Subject:DOCBOOK: Re: XML Schemas and docbook documents
From:Norman Walsh (nd@nwalsh.com)
Date:Dec 10, 2001 8:10:05 am
List:org.oasis-open.lists.docbook

/ Yann Dirson <ydir@fr.alcove.com> was heard to say: | In other words, I was thinking of extending the syntax of attributes | so that we could write: | | <article | <class>whitepaper</>

I've seen this suggested elsewhere recently. Specifically, that we could introduce a new syntax using some prefix character for "attribute elements". That you'd make

<article class="whitepaper">

the same as

<article> <_class>whitepaper</_class>

(If you selected "_" as the prefix character.)

While this would solve the problem from a purely pragmatic point of view, I'm not sure I like what it does to the XML data model and the complexity of applications.

| > <xh:p xmlns:xh="http://www.w3.org/1999/xhtml">...</xh:p> | > | > If you did that, and gave xmlns: attributes special treatment so that | > they didn't have to be declared (because they aren't really | > attributes), you'd be in pretty good shape. | | But maybe there is a fundamental problem here, in that something that | isn't really an attribute should not use attribute syntax...

Yeah, I would have preferred processing instructions to magic attributes, but that's not the way the Namespaces Recommendation turned out.

Be seeing you, norm