Re: Examples
| From: | Jirka Kosek | Date: | Tue, 16 Oct 2001 20:18:48 +0000 |
| Subject: | Re: Examples | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969338048@lists.php.net to get a copy of this message | ||
Hojtsy Gabor wrote:
> NameSpaces and Schema will be a good way in the future, to elegantly
> handle such situations, while staying compatible, but as seen,
> we have no possibility to make a really elegant decision.
To be honest, for this particular purpose using namespaces would be very
poor solution. You should use namespaces (NS) when you want to mix two
(or more) different types of data in a single XML document. So NS are
perfectly useful for combining DocBook+MathML, XHTML+SVG, XSLT+HTML,
etc. But in these cases you are mixing markup scheme for different areas
of interest. Adding something like seealso via NS to DocBook is not good
design approach because this element is on same semantic level as other
DocBook elements. In this case it is proper to customize DTD. Believe
me, I'm working with markup technologies for many years and I'm also
member of DocBook development team on SourceForge.
> In my viewpoint defining that role is the best we can do here.
It is solution which works, but from my point of view it is not sign of
the best document type desing.
Jirka
-----------------------------------------------------------------
Jirka Kosek
e-mail: jirka@kosek.cz
http://www.kosek.cz