|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
||||
|
||||
|
Hi all,
if I create a new xml file with xsl (attribute indent of element output is set to "yes") the new xml file looks like: Code:
<?xml version="1.0" encoding="utf-8"?> <root> <somedeeperstuff> <someevendeeperstuff> ... </someevendeeperstuff> </somedeeperstuff> </root> There is no identation. Is there a possibility to insert indents automaticly so that the file looks like: Code:
<?xml version="1.0" encoding="utf-8"?>
<root>
<somedeeperstuff>
<someevendeeperstuff>
...
</someevendeeperstuff>
</somedeeperstuff>
</root>
|
|
#2
|
|||
|
|||
|
Use an Editor
I use Visual Studio to acomplish this (kind of pricy though) there are some great XML only editors you can get freewear from like http://www.download.com that will do this for you.
Best of luck. Taylor Brown (MCP) |
|
#3
|
||||
|
||||
|
So there's no possibitlity to do that automaticaly
![]() |
|
#4
|
||||
|
||||
|
Looks good ... but doesn't work
![]() If I call the template xalan throws an application error. Any idea why? |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > XML Programming > how to format xml output automaticly |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|