Subject: Re: [xsl] preserving whitespace - answer From: Eric Smith <Eric.Smith@xxxxxxxxxxxx> Date: Mon, 24 Sep 2001 01:39:44 +0200 |
According to Eric Smith on Sun, Sep 23, 2001 at 06:02:48PM +0200: | According to Mike Brown on Sun, Sep 23, 2001 at 12:31:41AM -0600: | | > I have looked at the archives and failed to implement the | | > xml:space="preserve" | | > to preserve white space in selected nodes - failing that preserving | | > whitespace globally. | | | | 1. Which XSLT processor are you using? (Don't say MSXML w/DOM input) | saxon and xalan | | | | 2. Where do you want the whitespace preserved? Provide an example. | Looks like this is more a XSL-FO question cause the actual text in | the format object file is correctly representing whitespace but the | pdf out put looks like below: | | | Text as per .xml and .fo: | | Imagine this is a poem | and we want lines idented | in this strange fasion | | This is a nonsensical indentation | but serves to make the point | about what I mean by preserving whitespace | | Output as per .pdf: | | Imagine this is a poem and we want lines idented in this strange fasion This is | a nonsensical indentation but serves to make the point about what I mean by | preserving whitespace | | The .fo -> .pdf processors I am playing with are fop and xep. | linefeed-treatment="preserve" white-space-collapse="false" wrap-option="no-wrap" -- Eric Smith XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] preserving whitespace, Eric Smith | Thread | [xsl] Re: preserving whitespace, Dimitre Novatchev |
RE: [xsl] Re: xsl:element, Michael Kay | Date | Re: [xsl] Re: xsl:element, Mike Brown |
Month |