Subject: Re: [xsl] Bash scritp From: "Hardy Merrill" <HMerrill@xxxxxxxxxxxxxxxx> Date: Tue, 08 Mar 2005 10:34:33 -0500 |
This is a bit (a lot) off topic for this list, but I'll humor you since I like Linux :) I'll give this a shot, but please know that I haven't done anything in Linux and Bash in quite a while, so take this with a grain of salt ;-) Not sure if this is what you're looking for, but if all you want to do is "read" the XML document, I think(?) you could pipe the XML file to your bash script, and have the bash script read it line by line from standard input (STDIN). I can't remember how to set up the read loop in bash, but it shouldn't be too hard to figure out. I think you could probably find all you need by doing man bash at a command prompt. HTH. Hardy Merrill >>> kevin.rodgers@xxxxxxx 03/08/05 10:25 AM >>> Beatriz Langiano writes: > I was writing a bash script (in linux), and I'd like > to to read a XML document, like in XSLT. > Does somebody know how I could do this? I haven't tried it, but William Park maintains a souped-up version of bash that includes XML support (nothing like XPath/XSLT though): http://freshmeat.net/projects/bashdiff/index.html#xml http://home.eol.ca/~parkw/index.html#xml -- Kevin Rodgers
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Bash scritp, Kevin Rodgers | Thread | Re: [xsl] Bash scritp, Beatriz Langiano |
Re: [xsl] Probs using XSLT in brows, David Carlisle | Date | Re: [xsl] Probs using XSLT in brows, António Mota |
Month |