Re: generating attributes and content for an element
Michael Ludwig <[email protected]>
| Newsgroups | gmane.comp.lang.perl.xml |
|---|---|
| Message-ID | <[email protected]> |
Manuel Souto Pico schrieb: > I don't know a lot about XSL(T) but from the little I know it seems > that it is used when you need to give a human-friendly shape to an XML > document (e.g. roughly, show the XML contents as if it was a webpage > in a navigator). It may, of course, be used in this case. In fact, it should be preferred to other technologies by a lot. > However, the conversion that I need to do is from XML to another > XML-based format Exactly the use case for XSLT. > So do you still think XSLT would be the right thing for me? Absolutely. If you want to do serious XML work, forget about XML::Simple. Use the real tools. Use XSLT. XSLT comes in two versions: 1.0 and, significantly enhanced, 2.0. The latter is much more powerful. For Perl, you'll want to use XML::LibXSLT, which is built on top of Daniel Veillards LibXSLT. But then, you probably won't need Perl. (I know I shouldn't say that here.) On Windows, you already have MSXML. You can also use one of the three free XSLT 2.0 processors currently available: * Saxon (Java, .NET) * Altova (Windows only) * Gestalt Then, join XSL-List, rightly famed for its helpfulness, promptness, and competence: http://www.mulberrytech.com/xsl/xsl-list/ Michael Ludwig _______________________________________________ Perl-XML mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs