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: wordml-* : missing whitespaces


Hello there,

  I have been using xsltproc in conjunction with the wordml-*.xsl
stylesheet to try to produce a docbook document but I have a couple of
minor issues. Hopefully someone can tell me if I am doing something
wrong.

The original Word document contains:
<w:pStyle w:val="TableEntry"/><w:keepNext/><w:keepLines/></w:pPr><w:r><w:t>Sex
of the named patient. Enumerated
Values:</w:t></w:r><w:r><w:br/></w:r><w:r><w:tab/><w:t>M =
male</w:t></w:r><w:r><w:br/></w:r><w:r><w:tab/><w:t>F =
female</w:t></w:r><w:r><w:br/></w:r><w:r><w:tab/><w:t>O =
other</w:t></w:r>

Output docbook file contains:
<entry>Sex of the named patient. Enumerated Values:M = maleF = femaleO
= other</entry>

Is there anything I should do to keep those whitespaces ?

Thanks !


-- 
Mathieu


Steps used:
xsltproc -o normalised.xml wordml-normalise.xsl my-word.xml
xsltproc -o sections.xml wordml-sections.xsl normalised.xml
xsltproc -o blocks.xml wordml-blocks.xsl sections.xml
xsltproc -o my-docbook.xml wordml-final.xsl blocks.xml

$ xsltproc --version
Using libxml 20627, libxslt 10119 and libexslt 813
xsltproc was compiled against libxml 20627, libxslt 10119 and libexslt 813
libxslt 10119 was compiled against libxml 20627
libexslt 813 was compiled against libxml 20627


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