tool recommendation for transformation project
by Archie Russell other posts by this author
Jul 26 2000 1:07PM messages near this date
view in the new Beta List Site
parser, checkparser
|
Re: tool recommendation for transformation project
hi, i'm looking for a tool recommendation for the following project. the
tool needs
to run on solaris.
i have a large volume of xml (and a lot of compute power too) which i need
to transform
into a simple non-xml format.
the xml is somewhat like this
<a>
big a here
<b> xxx</b>
<c> yyy<c>
</a>
it needs to map to something like
-A- big a here
-B- xxx
-C- yyy
-end-
but, <a> tags can be nested. so we have something like
<a>
big a here
<b> xxx</b>
<c> yyy<c>
<a>
little a here
<c> zzz<c>
</a>
</a>
that maps to
-A- big a here
-B- xxx
-C- yyy
-end-
-A- little a here
-B- xxx
-C- zzz
-end-
the tricky part is, the <a> tags that are further down _sometimes_ "inherit"
elements from the ones that are further up in the heirarchy. i also need
to do a little manipulation of the cdata, say upcase all the letters.
anyway, i need a tool that will help me out. i've been using xml::parser,
but it is a little
tedious. is axkit appropriate? some other xslt? will they be able to do
this kind of thing?
help greatly appreciated,
archie
Thread:
Archie Russell
Tylman Ule
Matt Sergeant
|