Re: generating attributes and content for an element
Michael Ludwig <[email protected]>
| Newsgroups | gmane.comp.lang.perl.xml |
|---|---|
| Message-ID | <[email protected]> |
Jenda Krynicky schrieb: > Unlike some others I would not recommend wasting time with XSLT. > First, programming in XML is simply silly. XSTL has the main problem > of Lisp (lots of irritating silly parenthesis) with none of its > strengths. Some XML tags are instructions, some are examples of the > intended output, some are god know what else AND EVERYTHING LOOKS > EXACTLY THE SAME. And as soon as you need to transform not just the > packaing, but also the data, you are prettymuch lost. The list of > things you actually can do in XSLT is pretty limited. Hmmm ... >> Shlomi Fish escribió: >>> XML::Simple is philosophically bad, and when done half-properly, is >>> no longer simple. > > The fact that you do not understand something doesn't mean it's > "philosophically bad". Hmmm ... This remark certainly applies. But so does Shlomi's. XML::Simple is suitable for the most basic tasks, not more. > Most "heavyweight" XML modules assume the developer doesn't have > anything better to do with his time than to learn them and several > related standards inside out. LibXML is a perfect example. LibXML2 by D. Veillard is a very fine library. XML::Simple leads to an all-too-Perlish hackery. It's suitable only for basic tasks. And even there you may run into it's limitations. See "mixed content". Michael Ludwig _______________________________________________ Perl-XML mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs