Re: [docbook] Customization of attribute set
Hi Jirka, Thanks a lot for your answer. Is there a CSS equivalent for every FO customization? I also want to change the clear parameter of section.title.properties to the value both, but I don't know how the code would need to look like in CSS. Kind regards, Julia On 30.1.2014 21:47, julia.jacob...@arcor.de wrote: Toolchain: xsltproc -o output.html my_style.xls my_doc.xml I would expect the title of the section to be centered, but this is not the case. Could you please point me towards additional diagnostics to run in order to pin down the problem? You are generating HTML, but changing attribute set that affects FO (print) output. If you need to customize HTML output, then easiest is to use CSS, see: http://www.sagehill.net/docbookxsl/UsingCSS.html - To unsubscribe, e-mail: docbook-unsubscr...@lists.oasis-open.org For additional commands, e-mail: docbook-h...@lists.oasis-open.org
[docbook] Customization of attribute set
Hello everybody out there using DocBook 5, Customizing the attribute set section.title.properties does not work for my minimal example: my_doc.xml: ?xml version=1.0 encoding=utf-8? article xmlns=http://docbook.org/ns/docbook; version=5.0 xml:lang=en titleSample article/title section titleSample section/title /section paraThis is a very short article./para /article my_style.xls: ?xml version=1.0? xsl:stylesheet xmlns:xsl=http://www.w3.org/1999/XSL/Transform; xmlns:fo=http://www.w3.org/1999/XSL/Format; xmlns:d=http://docbook.org/ns/docbook; exclude-result-prefixes=d version=1.0 xsl:import href=http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl/ xsl:attribute-set name=section.title.properties xsl:attribute name=text-aligncenter/xsl:attribute /xsl:attribute-set /xsl:stylesheet Toolchain: xsltproc -o output.html my_style.xls my_doc.xml I would expect the title of the section to be centered, but this is not the case. Could you please point me towards additional diagnostics to run in order to pin down the problem? Kind regards, Julia - To unsubscribe, e-mail: docbook-unsubscr...@lists.oasis-open.org For additional commands, e-mail: docbook-h...@lists.oasis-open.org
Re: [docbook] Customization of attribute set
On 30.1.2014 21:47, julia.jacob...@arcor.de wrote: Toolchain: xsltproc -o output.html my_style.xls my_doc.xml I would expect the title of the section to be centered, but this is not the case. Could you please point me towards additional diagnostics to run in order to pin down the problem? You are generating HTML, but changing attribute set that affects FO (print) output. If you need to customize HTML output, then easiest is to use CSS, see: http://www.sagehill.net/docbookxsl/UsingCSS.html -- -- Jirka Kosek e-mail: ji...@kosek.cz http://xmlguru.cz -- Professional XML consulting and training services DocBook customization, custom XSLT/XSL-FO document processing -- OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 rep. -- Bringing you XML Prague conferencehttp://xmlprague.cz -- signature.asc Description: OpenPGP digital signature