Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Formatting: A line break before each attribute?

From: "Sam Hobbs" <samuel@------.--.---_------_------_--_----->
To: NULL
Date: 4/1/2008 12:56:00 PM

If you want to do it programmatically without .Net then see the answers to 
my question "Inserting newlines into XML document" asked on 3/20/2008 (or 
maybe 3/19/2008 depending on timezone, but probably not).




"Adam Byrne" <misterbyrne-iamafraid@o...> wrote in message 
news:uWfUol9kIHA.484@T......
>I was scared away by a warning on Cooktop's website that it will save 
>changes without asking!  Anyway, I found a freeware application called 
>"firstobject XML Editor" that does the trick.  As an added bonus, it's only 
>900K and doesn't require installation.
>
> Thanks for your help.
>
> "Balaji" <msbalaji@i...> wrote in message 
> news:22f11515-6476-4d8e-8e55-8a056d4e0426@d......
> On Apr 1, 1:34 am, "Adam Byrne" <misterbyrne-iamafr...@ofspam-
> yahoo.ie> wrote:
>> Hello,
>>
>> I have to deal with Xml files which mainly consist of nodes which contain 
>> a
>> large number of attributes. I can manage to format these Xml files to
>> nicely indent each node, but all the attributes remain on the same
>> (extremely long) line as the node.
>>
>> Does anyone know of a way I can automatically format an Xml document so 
>> that
>> each attribute appears on its own line? I don't really mind how it can be
>> achieved once it's not by hand (e.g. any programming language, any 
>> library,
>> an XSLT, a freeware, shareware, or expensive application - Visual Studio
>> .NET 2008?) - any ideas??
>>
>> Thanks in advance.
>>
>> -adam
>
> Hi,
>
> Try with cooktop. it's freeware.
>
> http://xmlcooktop.com/
>
> Regards,
> Balaji. M
>
> 





transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent