Subject: Re: (dsssl) rtf from XML using DSSSL and Openjade newlines missing. From: Adam DiCarlo <adam@xxxxxxxxxxxx> Date: 13 Mar 2003 00:46:46 -0600 |
Lars Bungum <Lars.Bungum@xxxxxxxxxxx> writes: > Greetings! > > Although I'm still fumbling somewhat, I've been able to create a nice > rtf-document from an xml-file using a DSSSL style-sheet. I've been able > to do all the formatting I would like, but still there is one last piece > missing that I can't grip. That is, that inside one of my xml tags > (<answer>), lies several newlines and line-breaks. They simply disappear > in my rtf-document, and I'm desperate to get them back. :) > > What I have tried, is to locate some builtin function, but wasn't able to > find one. Another thing that struck me was that I am perhaps using the > wrong newline character in some way. In your paragraph construction rule, add "lines: 'asis". This will preserve that sort of whitespace, it's what the verbatim type environments use. -- ...Adam Di Carlo...<adam@xxxxxxxxxxxx>.......<URL:http://www.onshored.com/> DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
(dsssl) rtf from XML using DSSSL an, Lars Bungum | Thread | (dsssl) Controlling line breaks, Tim McDaniel |
(dsssl) rtf from XML using DSSSL an, Lars Bungum | Date | (dsssl) Controlling line breaks, Tim McDaniel |
Month |