Terrence Brannon wrote:
Do you have any practical examples demonstrating the need for XML to XML transformations?
There are tons of uses for XSLT. The simplest and most known is transforming XML into HTML. XSLT can seperate content and presentation simlar to HTML::Template or TT2. But unlike these template options, XSLT is standard compliant and works beyond the world of Perl. Of course, there are many other less known uses for XSLT. XML transformation into PDF, JPEG, SQL, etc.
And could you show some source code for how this is done? I never could fathom Matt Sergeant'sXML::(LibXML|LibXSLT|XPath) modules.
The Perl interface is fairly simple. I'm guessing you're having problems with XSLT itself. The documentation on XSLT for the most part is cut and paste from the W3C standard. Which usually aren't the easiet reads.
Here are some good articles on XSLT. http://www.xml.com/pub/a/2000/08/holman/index.html http://www.vbxml.com/xsl/tutorials/intro/default.asp If your still having problems. I'd be happy to help of list.
I was able to find the nodes I wanted via XML::XPath, but because they were XML::XPath objects, I did not know how to manipulate them to change the XML as I desired.
XML::XPath really isn't used to manipulate XML. Rather its used to extract XML data.
---------------------------------------------------------------------
Web Archive: http://www.mail-archive.com/suppressed/
http://marc.theaimsgroup.com/?l=cgiapp&r=1&w=2
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.