XSLT is good at this.  You can use Microsoft's XSLT objects through
Win32::OLE, or you can use the XML::XSLT perl module, which has less
functionality.  I wish I had the skills and time to offer to make XML::XSLT
a better tool.  I'm embarrassed that we have such poor XSLT support in our
language.

For more on XSLT, check this URL: 
http://www.xml.com/pub/a/2000/08/holman/index.html
or this one (more technical)
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/xmlsdk30/ht
m/xmrefxsltreference.asp


Other ways:  Use XML::DOM and manipulate the DOM as you need to.  Or use an
event-based parser and build your new document on the fly, if that's
possible.

There's probably other ways, too.

jpt

> -----Original Message-----
> From: Martin Moss [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, May 07, 2002 7:23 AM
> To: ''ActiveState's Perl Win32 Users list' '
> Subject: XMl convertion quickie.
> 
> 
> All,
> 
> just a quickie, any recommendations for converting from one XML doc to
> another?
> 
> regards
> 
> Marty
> 
> _______________________________________________
> Perl-Win32-Users mailing list
> [EMAIL PROTECTED]
> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
> 
_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to