 latipak
Member
|
I am trying too use a tool (xmltidy) that requires the window handle of the window i am trying to pass. What Parameter should I use?
What Parameter for the clipboard?
If not possible, is there another way to format XML automatically?
|
 simon
Key Master
|
I presume this is the Textpad plugin called XMLTidy? You can do what this tool does using HTMLTidy (which is what XMLTidy wraps up).
Add a tool like this:
command: tidy.exe
params: -iq -xml –newline LF –tab-size 4
On the Console I/O page select both:
“Pass my selection to this tool using standard input” and “Capture output” and select “Replace my selection” from the box beneath capture output.
This will in-place tidy your XML!
You can get the tidy program from http://tidy.sourceforge.net/
|