views:

32

answers:

1

i have xml look like below . can anyone recommend any xml designer, so that i can virtualized the xml easily ? i tried eclipse , but not so friendly enough. any other free tool ?

<?xml version="1.0" encoding="UTF-8"?>
<metadata><fields><field-order/></fields><roles><role name="DEFAULT3_MOD"><state status="0"/><state 

status="1"/><state status="99"><transition status="99"/></state></role><role name="DEFAULT2"><state 

status="0"/><state status="1"><transition status="1"/></state><state status="99"/></role><role 

name="DEFAULT"><state status="0"><transition status="1"/></state><state status="1"/><state 

status="99"/></role></roles><states><state status="0" label="New"/><state status="1" label="Open"/><state 

status="99" label="Closed"/></states></metadata>
+1  A: 

I'm not sure what you mean by virtualize, but if you want to tidy your XML, you can use an html tidying utility such as http://infohound.net/tidy/

Just paste your XML in there, choose the options you need, and it will spit out cleaned source.

Soviut