On 27/01/07, Mathieu Malaterre <[EMAIL PROTECTED]> wrote:

First of all it looks very impressive, thanks for such a nice feature.
Unfortunately I am having some issue with newline return and
whitespaces which produce results I cannot use...

Example:
Search for the following string in the XML file:
<para>Sex of the named patient. Enumerated Values:M = maleF = femaleO
= other</para>

For the human eyes it is trivial to see where the whitespaces are
missing, but I was not able to figure out what is going wrong for the
xslt transformation.

I'd be more interested in the source xml in file content.xml from the odt file.
If the 'missing spaces' are newlines, then it's down to the XML parser in use.
Not sure which xslt engine you're using, but if you can,
specify the parser as xerces.

If the 'missing spaces' are unicode 'thin spaces' or some other variant,
then it gets messy. You need some text replacement in the XSLT or
an output character filter in the transform for XSLT2.

HTH



--
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to