I created some XSLT that works 100% with the XML, when I visit the XML in a browser. No warnings and everything looks great. But when I try to generate HTML using XML::XSLT (transform), it does the generation but many fields are blank. I ran it with warnings, and I saw several errors like these:
get-node-from-path: Don't know what to do with path /$name1 = $name2 get-node-from-path: Don't know what to do with path /$namei/cell
in the first example, it's not even a path, its an xsl:if (which works on the static page), like <xsl:if test="$name1 = $name2"> where these are defined by statements like <xsl:variable name="name" select="@name" /> I looked in CPAN and it said variables were at least in some fashion, supported. But I'm thinking perhaps I've just reached the usable limits of XML::XSLT ? The browser is already very particular about the XML and XSLT being perfect, and since it renders there, I think my XML and XSLT are not the issue. And it appears I'm already on the latest release of XML::XSLT ....

In reply to XML::XSLT v 50_5 error with xsl variables by misterperl

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.