You can do this with sed, fairly easily I think. I wrote a regex to clean up my tags, but it doesn't fix the indenting, since my editor does that pretty well.

If you are using an inferior OS from a Redmond-based corporate criminal(<grin/>) then the application XMLSpy handles cleaning up the code pretty well - as far as I remember.


On Monday, January 20, 2003, at 06:19 PM, [EMAIL PROTECTED] wrote:

After many edits , my XSL files become not well-arranged. Does exist some
(freeware) program, which can in my XSL, XML, FO files align all starting
and ending tags back together ? For example:


<A>
<B>text     </B><C>

text</C></A>

-------------
<A>
  <B>text</B>
  <C>text</C>
</A>

or

<A>
  <B>
  text
  </B>
  <C>
  text
  </C>
</A>


Thanks.


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



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



Reply via email to