xml layout

S

slurper

how can i format xml? any tools (preferably on unix)?

for example: let's say i have broken html
i clean it up (into xhtml), but i want it formatted in a hierarchical
manner. the tool should be able to distinct inline and block-level markup.

i tried emacs and xae, but it doesn't always work. very strange problem:
sometimes it works and sometimes it doesn't. i'm getting afraid of the
power of emacs ;-), it's kind of fragile...

i tried xxe and morphon but they don't change the document when saved (i
mean the indentation, the content is changed off course)
any tips?

tx
 
M

Martin Honnen

slurper said:
how can i format xml? any tools (preferably on unix)?

for example: let's say i have broken html
i clean it up (into xhtml), but i want it formatted in a hierarchical
manner. the tool should be able to distinct inline and block-level markup.

i tried emacs and xae, but it doesn't always work. very strange problem:
sometimes it works and sometimes it doesn't. i'm getting afraid of the
power of emacs ;-), it's kind of fragile...

i tried xxe and morphon but they don't change the document when saved (i
mean the indentation, the content is changed off course)
any tips?

Maybe tidy
http://tidy.sourceforge.net/
can help you.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top