Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Java and xml

  • 24-07-2006 11:14am
    #1
    Closed Accounts Posts: 36


    Hi,
    I have an xml file that i need to indent properly,the file is an ouput from a transformation,is there any way i can do this using java and not my xslt stylesheet.

    sample

    <M Name="1" Type="Jvm">
    <JvmId>1</JvmId>
    <userLabel/>
    <classpath/>
    <admClasspath/>
    <freeMemory>0</freeMemory>
    <totalMemory>0</totalMemory>
    <mopplets/>
    <main/>
    <options/>
    <properties/>
    <reliableProgramUniter/>
    <admMain/>
    <admOptions/>
    <reservedBySwAllocation/>
    </m>

    obviously this is hard to read,so need to indent it properly.
    Thanks
    Pj


Comments

  • Registered Users, Registered Users 2 Posts: 197 ✭✭Patrick


    you could try google :P


  • Registered Users, Registered Users 2 Posts: 2,013 ✭✭✭lynchie


    As above.. a quick google should lead you to the indent attribute of the xsl output tag


Advertisement