This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: sgml vs xml
Ben Hratshorne wrote:
> What about non-closing tags such as imagedata?
> <mediaobject>
> <imageobject>
> <imagedata fileref="images/stack.pdf">
> </imageobject>
> <imageobject>
> <imagedata fileref="images/stack.png">
> </imageobject>
> </mediaobject>
Just add trailing / for empty element like:
<imagedata fileref="images/stack.pdf"/>
> > This is not supported by XML. But you can substitute this by profiling
> > http://www.sagehill.net/xml/docbookxsl/SpecialHandling.html#Profiling
>
> That link (and the rest of the manual at the same place) is very nice; I
> handn't found it before. Thank you!
Yes, Bob's guide is a must read for anyone interested in using XSL
stylesheets.
--
-----------------------------------------------------------------
Jirka Kosek
e-mail: jirka at kosek dot cz
http://www.kosek.cz