xsl-list
[Top] [All Lists]

Re: xsl to format an ugly xml file to a neat xml file

2004-09-18 17:08:27
whow, stop :D, please!

no, all I needed was a stylesheet to do this job, not an application!
although jarno's link helped me in a way, mysteriously enough the
transformation always converted
<?xml version="1.0" encoding="utf-8"?>
to
<?xml version="1.0" encoding="utf-16"?>
which my application did not like at all. I tried to investigate a
little (changing encoding types here and there), but then decided the
feature was not important enough, because I had no clue and there were
other things more important at the time.
anyway, if this error is somewhat common and an easy fix is at hand,
I'd be glad to hear about it...

thank you all!

--jan




On Tue, 14 Sep 2004 11:38:55 +0100, Vasu Chakkera 
<vasucv(_at_)hotmail(_dot_)com> wrote:



You need a tidying tool.
What might be worth trying out is the XSLT tool called Xselerator from
marrowsoft
www.marrowsoft.com .. It is a very good tool for XSLT. One of its features
being tydying..
Cheers
Vasu
-----Original Message-----
From: Jan Limpens [mailto:jan(_dot_)limpens(_at_)gmail(_dot_)com]
Sent: Sunday, September 12, 2004 8:23 AM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] xsl to format an ugly xml file to a neat xml file


hi people,

i wonder if there is somewhere a ready to use stylesheet that converts
something like

<foo attr=
"bla">
<bar>ggg</bar><bar>

foo</bar>
   <bar/>

      </foo>

to

<foo attr="bla">
   <bar>ggg</bar>
   <bar>fff</bar>
   <bar/>
</foo>

or similar.

anyone got this somewhere in his/her stash?

thanks again!

--
Jan
http://www.limpens.com

--+------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--+--

--+------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--+--


_________________________________________________________________
It's fast, it's easy and it's free. Get MSN Messenger today!
http://www.msn.co.uk/messenger

--+------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--+--




--+------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--+--





-- 
Jan
http://www.limpens.com