OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

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


Subject: Re: DOCBOOK: 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@kosek.cz
  http://www.kosek.cz




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