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

  • From: Michael Ludwig <milu71@g...>
  • To: xml-dev@l...
  • Date: Fri, 9 Apr 2010 23:12:00 +0200

Michael Kay schrieb am 09.04.2010 um 21:53:57 (+0100)
[RE:  To namespace or not to Namespace ....]:

> A simple clean design which would avoid these problems might be as
> follows:
> 
> (1) elements and attributes have hierarchic names, for example
> org.fpml.invoice, which can always be written out in full if so
> desired
> 
> (2) if abbreviated names are wanted to reduce verbosity, then at the
> outermost level of a document (perhaps in the internal DTD) prefixes
> can be defined
> 
> <!PREFIX f = org.fpml>
> 
> allowing the element name to be written as <f:invoice>

Ha! In the DTD! Good old DTD! :-)

Cheers,
-- 
Michael Ludwig


[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