|
Subject: [xsl] XML pretty printer From: John Christopher <john.christopher1100@xxxxxxxxx> Date: Mon, 26 Sep 2011 14:25:10 -0700 (PDT) |
I am looking for a stylesheet (or free software
that runs from the command line on linux) that
will take the following input:
<mydata attrib1="hello" attrib2="world"
attrib3="yes"
>
<person name="Fred" country="US" />
<person name="Karen" country="DE" />
</mydata>
and pretty prints it like this (each attribute
printed on a separate line beneath the element
and indented):
<mydata
attrib1="hello"
attrib2="world"
attrib3="yes"
>
<person
name="Fred"
country="US"
/>
<person
name="Sylvia"
country="DE"
/>
</mydata>
Any ideas? Thanks for your help.
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] Re: XPath that returns no, Michel Hendriksen | Thread | Re: [xsl] XML pretty printer, Liam R E Quin |
| Re: [xsl] XPath that returns nothin, Stefan Krause | Date | Re: [xsl] XPath that returns nothin, Liam R E Quin |
| Month |