Re: XML for VMS
- From: "P. Sture" <paul.sture.nospam@xxxxxxxxxx>
- Date: Fri, 06 Jul 2007 09:42:07 +0200
In article <nv4ji.46155$aS5.1875@xxxxxxxxxxxxxxxxxxxxxxxxx>,
Chris Sharman <chris.sharman@xxxxxxxxxxxx> wrote:
I've got an old application which accepts orders via tagged text input
files.
Something like:
_order_1001
_product_ab10
_quantity_30
_ink_Black
_name_Mr Jones
etc...
I've looked at updating it to handle xml a number of times, but I've
looked at the available parsers in the past (expat etc), and got
nowhere.
As I recall, I couldn't get expat to compile - did it require gcc rather
than decc? Interesting that Bob recommends the hp offering, but Hoff
couldn't get it to work.
I grabbed the latest version of expat from
http://sourceforge.net/projects/expat/
and it compiled fine on VMS 8.3 (up to date with ECOs). See the file
[.vms]README.vms in the distribution for compilation instructions.
Documentation can be found in [.doc]reference.html
FWIW, the downloadable file came as expat-2.0.1.tar.gz - To save mucking
around on the VMS side, I unpacked it on my Mac and built a zip file
there; then used unzip on on that on VMS.
From my reading of the website, the hp offering only supports Java andC++; Unfortunate if you don't have a C++ compiler and don't want to go
the Java route.
Suggests that I'm not the only one struggling.
There seem to be a lot of different ways to achieve the same thing with
xml (xslt, sax, dom, ...) and pretty thin documentation on all of them.
And all the examples I have found are in C, not 100% helpful for those
wishing to use another language.
Sounds like my best bet might be libxslt, preprocessing the xml into my
'legacy' format, then feeding into the original program.
Any reason why libxslt in particular?
Possibly a DTD to specify the new format to business partners.
--
Paul Sture
.
- Follow-Ups:
- Re: XML for VMS
- From: ChrisSharman
- Re: XML for VMS
- References:
- XML for VMS
- From: ChrisSharman
- Re: XML for VMS
- From: Bob Gezelter
- Re: XML for VMS
- From: Chris Sharman
- XML for VMS
- Prev by Date: Re: XMODEM for VMS
- Next by Date: Re: Is VMS losing the Financial Sector, also?
- Previous by thread: Re: XML for VMS
- Next by thread: Re: XML for VMS
- Index(es):
Relevant Pages
|