473,748 Members | 9,913 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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
Jul 20 '05 #1
5 1968
In article <pa************ *************** *@crtman.com>,
Warrick FitzGerald <nn************ **@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
pt**@interlog.c om
Jul 20 '05 #2

"Warrick FitzGerald" <nn************ **@crtman.com> wrote in message
news:pa******** *************** *****@crtman.co m...
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.


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
Jul 20 '05 #3
"Dimitre Novatchev" <dn********@yah oo.com> wrote in message news:<bt******* *****@ID-152440.news.uni-berlin.de>...
"Warrick FitzGerald" <nn************ **@crtman.com> wrote in message
news:pa******** *************** *****@crtman.co m...
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.


You can try this one:

XMLStarlet Command Line XML/XSLT Toolkit

http://xmlstar.sourceforge.net/
Jul 20 '05 #4
"Dimitre Novatchev" <dn********@yah oo.com> wrote in message news:<bt******* *****@ID-152440.news.uni-berlin.de>...
"Warrick FitzGerald" <nn************ **@crtman.com> wrote in message
news:pa******** *************** *****@crtman.co m...
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.


You can try this one:

XMLStarlet Command Line XML/XSLT Toolkit

http://xmlstar.sourceforge.net/
Jul 20 '05 #5
> 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.


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
http://xmlstar.sourceforge.net/
Jul 20 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
3455
by: Joe | last post by:
I'm using Python 2.4 on Windows XP SP2. I'm trying to receive a command line argument that is a newline (\n) Here is the command line to use sample.py "\n" Here is a sample.py script
7
4736
by: Steve M | last post by:
I'm trying to invoke a Java command-line program from my Python program on Windows XP. I cannot get the paths in one of the arguments to work right. The instructions for the program describe the following for the command-line arguments: java -jar sforcedataloader.jar -Dsalesforce.config.dir=CONFIG_DIRECTORY They also give an example:
4
3180
by: lkrubner | last post by:
I'd like to write a PHP script to be used from the command line on a Unix machine. I'd like for the script to put together a string, turn it into a web page, print it, then return control the command line. Obviously it is quite easy to make a string that is valid HTML and send it to the printer. The tough part is making look like a web page. In particular, image tags should print out as images, not image tags. Does anyone have an idea...
5
3222
by: randyelliott | last post by:
Good Day, I have a MS Access (Access 2000 now upgraded to 2003) database that tracks customer information. One function of this database is to create an encrypted license file for our software, which is then emailed out to the customer. The encryption string is based on information in the database and can only be generated by executing a DOS command. This is done from within the database by clicking a button on a form that triggers a...
34
6868
by: Roman Mashak | last post by:
Hello, All! I'm implementing simple CLI (flat model, no tree-style menu etc.). Command line looks like this: <command> <param1> <param2> ... <paramN> (where N=1..4) And idea is pretty simple: 1) get whole string of input line 2) preset table of strings matching <command> 3) preset table of function calls
3
3037
by: Double Echo | last post by:
Hi all, I'm using PHP 4.4.2, and use PHP on both the command-line and the web. I am running PHP on SuSE 10 Linux , in a VMware 5.5 workstation, using Apache 2.0.55 , on my Dell laptop. Everything has been running flawlessly without problems. Very amazing to use VMware, it has worked beautifully. uname -a
4
5006
by: Bit byte | last post by:
I have a project that I normally build (without problems) from the DevStudio IDE. However, I have embarked on automating all my builds (this test project being one of several). The project creates a DLL. I am able to build the project without any probs in the IDE, however - when I build the project from the command line (using the same options shown in the 'Command line' node in the 'Project Settings' dialog box), I get the following...
2
3384
by: Jim | last post by:
Hello, I need a program that will traverse a directory tree to ensure that there are unix-style line endings on every file in that tree that is a text file. To tell text files from others I want to use the unix "file" command (Python's "mimetypes" is not so good for me). But I am stuck on something about getting that output, and I'd greatly appreciate any pointers.
51
4145
by: Ojas | last post by:
Hi!, I just out of curiosity want to know how top detect the client side application under which the script is getting run. I mean to ask the how to know whether the script is running under Command Prompt or Browser or some other application? Ojas.
7
9368
by: Jwe | last post by:
Hi, I've written a program which has both a command line interface and Windows form interface, however it isn't quite working correctly. When run from command line with no arguments it should display the Windows form. The form is being displayed but the command only returns when the form is closed. I want the command line to return immediately, leaving the form displayed.
0
8987
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8826
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9366
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8239
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6793
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6073
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4597
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4867
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3303
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.