Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

This is question is just burning me up. I want to use XML, and I also want to be able to use XSLT for XML transformation. But just WHICH XML/XSLT Perl interface is most preferred? I have so far used XML::DOM and XML::LibXML/XML::LibXSLT and I can't decide, because neither of these seems to be the "definitive" solution for several reasons:

On one hand, to my perception XML::DOM seems to be most widely used. XML::DOM seems to follow the DOM specification, and I feel it's pretty good. But what about doing XSLT transformation? I see that there's XML::XSLT, but that doesn't seem to be quite feature-complete. Hmmm....

Then there's LibXML. I love the fact that it's very fast. XSLT works like magic using LibXSLT. But the interface seems to be a little bit off from what I read on the DOM specifications. Hmmm....

And I'm sure there are other ones out there. But I just can't seem to find THE one to use. So which one(s) do other monks use? Why do you use it over others? Is there things that one set of interfaces can do that the others can't?

Any pointers are appreciated...

(I apologize in advance if I have made any incorrect statements about the features of the afore mentioned modules...)

In reply to Definitive/Favorite Perl XML DOM + XSLT interface? by lestrrat

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?

    What's my password?
    Create A New User
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others chilling in the Monastery: (5)
    As of 2020-12-03 14:35 GMT
    Find Nodes?
      Voting Booth?
      How often do you use taint mode?

      Results (56 votes). Check out past polls.