ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl-xml
perl-xml
Re: tool recommendation for transformation project
by Matt Sergeant other posts by this author
Jul 27 2000 1:28AM messages near this date
view in the new Beta List Site
Re: tool recommendation for transformation project | re: libxml-enno-1.02
On Wed, 26 Jul 2000, Archie Russell wrote:

>  
>  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?

They can, yes. Actually the tools in AxKit are right now tied into Apache,
but I'm hoping to be able to extract the XPathScript component, so that it
runs standalone (it used to, so it won't be too tricky). For more details
on XPathScript see my recent article on XML.com.

-- 
<Matt/> 

Fastnet Software Ltd. High Performance Web Specialists
Providing mod_perl, XML, Sybase and Oracle solutions
Email for training and consultancy availability.
http://sergeant.org | AxKit: http://axkit.org
Thread:
Archie Russell
Tylman Ule
Matt Sergeant

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved