Hi,

Is there any way to preserve the line breaks entered into an XML doc when 
parsing with Digester?

I.e. I have this xml snippet:

        <field name="field1" value="Line 1,
        line 2,
        line 3/>

But when I parse the xml file with the following appropriate rule:

        digester.addSetProperties("application/page/fieldset/field", "value",     
        "value");

The set property becomes: "Line 1, line 2, line 3".  All my nice formatting 
has been lost.

Any solutions/ideas greatly appreciated.

Thanks in advance,

Alan.



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

Reply via email to