[Home] [By Thread] [By Date] [Recent Entries]

  • From: Dave Pawson <davep@d...>
  • To: Liam Quin <liam@w...>
  • Date: Thu, 06 Aug 2009 17:48:06 +0100

Just picking up Mikes idea on listing namespaced elements...

On 06/08/09 16:11, Liam Quin wrote:
  than Tim Bray's idea.
>
>> So for docbook you'd have an author include all 300+ namespaced elements ?
>
> You only need to list those elements that can occur embedded in another
> vocabulary, plus the top-level element.  For example, a list item might
> not make sense without a containing list.  So, a docbook list would
> automatically introduce the docbook namespace for all the elements it
> contained (until you got down to ones that implied some other
> namespace, such as "svg" perhaps).
>
>>     Fine if Norm had them somewhere on the net I could reference them,
>> but simply not practical to inline them in the document surely?
>
> You'd have a reference, wich could be cached.

Something along the lines of Norms|Apache catalog resolver perhaps?
What would an XML app do when it comes across an element
you've forgotten?
   Assume it to be in the default namespace or provide a warning?
Former would be weak?

Latter seems to hold potential and support shorter element names.



regards

-- 
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member