Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Modifying XML

  • 04-12-2009 07:10PM
    #1
    Registered Users, Registered Users 2 Posts: 427 ✭✭


    Hi,
    I'm new to xslt and need some advice.


    I have a bit of XML which I want to add to and remove from. Right now it has too much of some information and not enough of other information.


    I know I can use xslt to transform the xml but I want to know is this the best option?

    The alternative is to use a parser to read in the file, add/remove information and write it out to a new file. I've never used xslt so if you guys could give me some beginners pointers it would be much appreciated.
    Thanks.


Comments

  • Registered Users, Registered Users 2 Posts: 1,322 ✭✭✭Mad_Max


    I'd go for the XSLT. I use it a lot in work and have done parsing of XML with java in previous work. In the main it's the better option imo.


Advertisement