xml-xmlbeans-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Saha, Sanjeev" <SS...@asce.org>
Subject RE: Keep linebreaks in XML
Date Tue, 04 May 2004 16:47:31 GMT
Have you tried org.apache.xmlbeans.impl.tool.PrettyPrinter?
You can also checkout the example by executing the xpretty.cmd script

-Sanjeev


-----Original Message-----
From: Stephan Klanck [mailto:sklanck@versata.de] 
Sent: Tuesday, May 04, 2004 9:41 AM
To: xmlbeans-user@xml.apache.org
Subject: Keep linebreaks in XML

Hello,

I am reading astruts-config and modifying it via XMLBeans.
        <action path="MyNewPath"
            type="com.versata.vstruts.struts.action.VLSLogonAction"
            validate="false"
            unknown="false"
            name="beanLogonForm"
            attribute="beanLogonForm" scope="request">
            <description>Hallo Welt</description>
            <!--  SKL -->
            <forward path="/loginError.jsp"
            name="failure" contextRelative="false" redirect="false"/>

After my code saves the xml, all formatting linebreaks are gone.
Is there any chance to keep them ??

Thanks SKL



- ---------------------------------------------------------------------
To unsubscribe, e-mail:   xmlbeans-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xmlbeans-user-help@xml.apache.org
Apache XMLBeans Project -- URL: http://xml.apache.org/xmlbeans/


- ---------------------------------------------------------------------
To unsubscribe, e-mail:   xmlbeans-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xmlbeans-user-help@xml.apache.org
Apache XMLBeans Project -- URL: http://xml.apache.org/xmlbeans/


Mime
View raw message