Right now I have only used the XML DOM for one project. Navigation of the DOM tree is hard for me to follow. My hope had been that as I got more used to the DOM it would become second nature to me.

Your post leads me to believe that the problems with using the DOM directly are not going to go away as I become more familiar with it.

I am wondering whether for me XML::XPath for me might be the way to go. XPath is a W3C standard and a variety of languages implement it. At my company we may shift our development work from Perl to Java someday and I would like to be able to continue to use the same XML tools in Java as those I know and love in Perl.


In reply to Re: Re: Re: Re: So Simple, Yet no tutorial covers it by sierrathedog04
in thread So Simple, Yet no tutorial covers it by Jrchak

Title:
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, details, 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, summary, 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.