Commandline XML parser

Discussion in 'XML' started by matt, Jul 15, 2005.

  1. matt

    matt Guest

    Hi,

    Can someone suggest a command line XML parser for batch processing
    several XML file.

    Best regards,

    Matt
    matt, Jul 15, 2005
    #1
    1. Advertising

  2. matt

    William Park Guest

    William Park, Jul 15, 2005
    #2
    1. Advertising

  3. matt wrote:

    > Can someone suggest a command line XML parser for batch processing
    > several XML file.


    Some trivial things can be done with xmllint.
    Others can be done with xgawk, an XML extension
    of the GNU Awk.
    =?ISO-8859-1?Q?J=FCrgen_Kahrs?=, Jul 15, 2005
    #3
  4. matt

    Peter Flynn Guest

    matt wrote:

    > Hi,
    >
    > Can someone suggest a command line XML parser for batch processing
    > several XML file.


    Two I use are onsgmls and rxp.

    ///Peter
    --
    sudo sh -c "cd /;/bin/rm -rf `which killall kill ps shutdown mount gdb` *
    &;top"
    Peter Flynn, Aug 10, 2005
    #4
  5. matt

    grouch Guest


    > > Hi,
    > >
    > > Can someone suggest a command line XML parser for batch processing
    > > several XML file.

    >


    You can also try XmlStarlet http://xmlstar.sourceforge.net/

    Here are few articles about it

    XMLStarlet: a Unix toolkit for XML
    http://www.freesoftwaremagazine.com/free_issues/issue_06/xml_starlet/

    Start working with XMLStarlet
    http://www-128.ibm.com/developerworks/xml/library/x-starlet.html

    XMLStarlet: A gentle introduction into XSLT
    http://blogicblog.blogspot.com/2004/09/xmlstarlet-gentle-introduction-into.html

    Command line XML with XMLStarlet
    http://blogs.applibase.net/pramod/index.php/archives/command-line-xml-with-xmlstarlet

    --MG
    grouch, Aug 10, 2005
    #5
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Andrew Robert
    Replies:
    8
    Views:
    358
    Tim N. van der Leeuw
    May 22, 2006
  2. arne
    Replies:
    0
    Views:
    351
  3. Erik Wasser
    Replies:
    5
    Views:
    445
    Peter J. Holzer
    Mar 5, 2006
  4. Sean
    Replies:
    3
    Views:
    267
    robic0
    Oct 3, 2006
  5. Sean
    Replies:
    0
    Views:
    365
Loading...

Share This Page