xml-xalan-j-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Johannes Lebek <joh.le...@gmx.de>
Subject Format attributes in XML tags
Date Thu, 13 May 2004 10:47:08 GMT
Hi there,

I'd like Xalan to format my XML output file. The requirement is to put 
each attribute in a new line. An example:

The following tag:
<my-tag attr1="ahf" attr2="kjfr" attr3="dfhjdhf" attr4="jddjfh"/>

...should be formatted like this:

<my-tag
   attr1="ahf"
   attr2="kjfr"
   attr3="dfhjdhf"
   attr4="jddjfh"/>

Is there a property I can set to force Xalan to format the output like I 
want it to?
Thanks for your suggestions,

Johannes


Mime
View raw message