Command line XML

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Warrick FitzGerald

    #1

    Command line XML

    Hi Guys,

    I'm looking for a command line tool that I can manipulate an XML file
    with, using XSL.

    I don't want to use any form of java. I would like a stand alone tool.

    Could someone please suggest something.

    Thanks
    Warrick
  • Patrick TJ McPhee

    #2
    Re: Command line XML

    In article <pan.2004.01.09 .15.55.47.12455 1@crtman.com>,
    Warrick FitzGerald <nntp.wfitzgera ld@crtman.com> wrote:

    % I'm looking for a command line tool that I can manipulate an XML file
    % with, using XSL.

    libxslt comes with such a tool, called xsltproc.

    % I don't want to use any form of java. I would like a stand alone tool.

    You can probably link it statically, but a normal build of xsltproc
    depends on the libxml and libxslt shared libraries. It is compiled to
    native machine code, which may be what you mean. http://xmlsoft.org

    I suppose I should mention that xalan also provides a command-line tool,
    which depends on the xerces and xalan shared libraries.
    http://xml.apache.org
    --

    Patrick TJ McPhee
    East York Canada
    ptjm@interlog.c om

    Comment

    • Dimitre Novatchev

      #3
      Re: Command line XML


      "Warrick FitzGerald" <nntp.wfitzgera ld@crtman.com> wrote in message
      news:pan.2004.0 1.09.15.55.47.1 24551@crtman.co m...[color=blue]
      > Hi Guys,
      >
      > I'm looking for a command line tool that I can manipulate an XML file
      > with, using XSL.
      >
      > I don't want to use any form of java. I would like a stand alone tool.
      >
      > Could someone please suggest something.[/color]

      msxsl.exe is available at:

      http://www.microsoft.com/downloads/d...displaylang=en

      All 9 XSLT processors I use have a way to be invoked on the command-line.

      Other non-Java XSLT processors are .Nt xsltTransform (look for nxslt.exe)
      XalanC, xsltProc, 4xslt


      Dimitre Novatchev.
      FXSL developer, XML Insider,

      http://fxsl.sourceforge.net/ -- the home of FXSL
      Resume: http://fxsl.sf.net/DNovatchev/Resume/Res.html


      Comment

      • Mikhail Grouchinsky

        #4
        Re: Command line XML

        "Dimitre Novatchev" <dnovatchev@yah oo.com> wrote in message news:<btmv55$94 jsm$1@ID-152440.news.uni-berlin.de>...[color=blue]
        > "Warrick FitzGerald" <nntp.wfitzgera ld@crtman.com> wrote in message
        > news:pan.2004.0 1.09.15.55.47.1 24551@crtman.co m...[color=green]
        > > Hi Guys,
        > >
        > > I'm looking for a command line tool that I can manipulate an XML file
        > > with, using XSL.
        > >
        > > I don't want to use any form of java. I would like a stand alone tool.
        > >
        > > Could someone please suggest something.[/color]
        >[/color]

        You can try this one:

        XMLStarlet Command Line XML/XSLT Toolkit


        Comment

        • Mikhail Grouchinsky

          #5
          Re: Command line XML

          "Dimitre Novatchev" <dnovatchev@yah oo.com> wrote in message news:<btmv55$94 jsm$1@ID-152440.news.uni-berlin.de>...[color=blue]
          > "Warrick FitzGerald" <nntp.wfitzgera ld@crtman.com> wrote in message
          > news:pan.2004.0 1.09.15.55.47.1 24551@crtman.co m...[color=green]
          > > Hi Guys,
          > >
          > > I'm looking for a command line tool that I can manipulate an XML file
          > > with, using XSL.
          > >
          > > I don't want to use any form of java. I would like a stand alone tool.
          > >
          > > Could someone please suggest something.[/color]
          >[/color]

          You can try this one:

          XMLStarlet Command Line XML/XSLT Toolkit


          Comment

          • Mikhail Grouchinsky

            #6
            Re: Command line XML

            > I'm looking for a command line tool that I can manipulate an XML file[color=blue]
            > with, using XSL.
            >
            > I don't want to use any form of java. I would like a stand alone tool.
            >
            > Could someone please suggest something.[/color]

            Sorry if this is repost (my first post via browser didn't seem to work).

            You can use XMLStarlet Command Line XML/XSLT Toolkit
            which is based in libxslt and available on Windows/UNIX/MacOS

            It is linked statically to libxml/libxslt so you do not need anything
            else if you use precompiled binaries

            Download from

            Comment

            Working...