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

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

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


Subject: Re: [docbook] \r\n becomes 
 when generating XHTML (for ePub)


Strange.  I'm using the zlatkovic Windows port of xmllint (version 20630), 
and I get these results when I run it in a Windows command window:

xmllint --xinclude -o option.out test.xml  [option.out has no 
 
characters]

xmllint --xinclude test.xml >  stdout.out  [stdout.out has 
 characters]

I cannot explain why you get different results.  Perhaps someone else could 
try it as well.

Bob Stayton
Sagehill Enterprises
bobs@sagehill.net


----- Original Message ----- 
From: "Boris Schäling" <boris@highscore.de>
To: "'Bob Stayton'" <bobs@sagehill.net>; <docbook@lists.oasis-open.org>
Sent: Saturday, January 23, 2010 5:23 AM
Subject: RE: [docbook] \r\n becomes &#13; when generating XHTML (for ePub)




> -----Original Message-----
> From: Bob Stayton [mailto:bobs@sagehill.net]
> Sent: Friday, January 22, 2010 6:28 PM
> To: Boris Schäling; docbook@lists.oasis-open.org
> Subject: Re: [docbook] \r\n becomes when generating XHTML (for ePub)

Hi Bob,

> Are you using the -o option with xmllint or writing to standard output?
> If
> you use the -o option, you won't get the &#13; characters.

yes, I use -o:

xmllint.exe --xinclude -o test2.xml test.xml

I tried redirecting to standard output but also got &#13; characters.

I'm using the latest version of the Windows port from
ftp://ftp.zlatkovic.com/libxml/. When I change the file and use Unix end
line markers I don't get &#13; characters (just to make sure that it's
indeed a problem with end line markers).

Do you use the Unix or Linux version of xmllint that you don't get &#13;
characters with -o? Or do you know if there is a trick to use "xsltproc
--xinclude" without a style sheet (as xsltproc doesn't generate &#13;
characters)?

Boris

> [...]






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