Re: Examples

From: Date: Tue, 16 Oct 2001 16:53:01 +0000
Subject: Re: Examples
References: 1 2 3 4 5 6  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969338028@lists.php.net to get a copy of this message
> No, you can´t define tags (another word is element). If you do that, > you have to modify DocBook itself. This isn´t allowed. For any > modification ask Norman Walsh. I do not want to modify docbook. What I was talking about is the usage of the XML NameSpaces standard to use two DTDs side by side. This way you can use tags from both DTDs. You can define one DTD as default, so you can use the tags from that DTD as normal, eg: <programlisting> .... <programlisting> You can define alias names for the other DTDs, eg. if we have some tags we use at phpdoc, we can define the alias name "phpdoc". To indicate that you use a tag from that DTD, and not the DocBook DTD, you need to prepend that alias name to the tag, eg the seealso tag from the phpdoc DTD can be used this way: <phpdoc:seealso> ... </phpdoc:seealso> This means the seealso tag is not defined in the default DTD (DocBook), but the DTD aliased as phpdoc. You can use as many DTDs as you wish side by side, but you must name them with an alias... > If I understand the TDG correct, you can use the element SeeAlso > only inside IndexTerm. Yes. It is not a container tag like note or warning really, so it is not suitable for the thing I would like to achive in my dreams :) Goba

« previous php.doc (#969338028) next »