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

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

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


Subject: RE: [docbook] Transforming Docbook style sheets (HTML to XHTML)


> -----Original Message-----
> From: Sergio Trejo 
> 
> I have a rather simple question which in hindsight will probably seem
> dumb.  I am using Docbook XSD 4.5b1 and want to add a few templates to
> some of the Docbook XSL 1.68 XHTML style sheets (to transform XML
> documents based on Docbook XSD 4.5b1). From what I've read, the XHTML
> style sheets should not be edited manually and instead they should be
> generated using html2xhtml.xsl ... so I added my desired template to
> the HTML style sheets. I then tried to apply the html2xhtml style shee
> to transform my HTML style sheets to XHTML style sheets (using a
> wonderful tool named Oxygen) but I received all sorts of errors in my
> attempt to do so.
> 
> Is there a suggested approach as to how to perform the transform from
> HTML to XHTML using a tool such as Oxygen? I couldn't find an FAQ
> about this but maybe I missed it. Thank you for any suggestions!


[moving to docbook-apps]

It is correct that you should avoid editing the stock stylesheets, but you
don't need to generate anything with html2xhtml.xsl. Just put your new
templates in a customization layer for XHTML. See 
http://www.sagehill.net/docbookxsl/OtherOutputForms.html#Xhtml.

/MJ




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