Saturday, 15 February 2014

xml - XSL FO Docbook content left margin -


Text after "div class =" itemprop = "text">

I transfer everything using DocBook 5 (DocBook-XSL-NS), Apache FOP and I using PDF I want to leave the text, how can I do this?

The source XML is:

  & lt; Section & gt; & Lt; Title & gt; Use & lt; / Title & gt; & Lt; Programlisting & gt; Mvn Basics Model: Generate -DarchetypeGroupId = cz.csob.javor -DarchetypeArtifactId = Javor-Audurup-sub-component -DarchetypeVersion = X.Y.Z & lt; / Programlisting & gt; & Lt; Paragraph & gt; When creating a subgroup project, you will be asked for the following properties: & lt; / Paragraph & gt; & Lt; Itemizedlist & gt; & Lt; ListItem & gt; & Lt; Paragraph & gt; & Lt; Emphasis & gt; Parental Component ID & lt; / Emphasis & gt; - ID of the original component, the basic component component & lt; / Par & gt; Should be the name of the directory kept in & Lt; / ListItem & gt; & Lt; ListItem & gt; ...   

image here enter details

Thanks.

After the

body.start.indent parameter added to the para indentation.

You should set the value to this parameter with the measurement, because it is used in calculating for other XSLT templates. For example, the next line will remove paragraph indentation at all:

  & lt; Xsl: param name = "body.start.indent" & gt; 0pt & lt; / Xsl: param & gt;   

Should all be something like the XSLT customization layer?

  & lt; XML version = "1.0" encoding = "UTF-8" & gt; & Lt; Xsl: stylesheet xmlns: xsl = "http://www.w3.org/1999/XSL/Transform" xmlns: fo = "http://www.w3.org/1999/XSL/Format" version = "1.0" & Gt; & Lt; XSL: Import href = "http://docbook.sourceforge.net/release/xsl/current/fo/docbook.xsl" /> & Lt; Xsl: Ultimate Name = "body.start.indent" & gt; 0pt & lt; / Xsl: param & gt; & Lt; / XSL: stylesheet & gt;   



No comments:

Post a Comment