I showed the pertinent XML/XSLT - I program for a corporation and its all propriety so I can't really share the data. There is nothing to guess about really - this line
<xsl:if test="$name1 = $name2">
produces that error. It doesn't matter what it's embedded in- that line produces that error, anywhere. Yes, XSL variables DO look like Perl variables. I didn't invent the xsl var syntax, so I don't know what you mean by that comment.

The question is really not about the particulars of the XSLT or XML. If there was a quote or any other syntax error, the browser wouldn't have rendered it. Unlike HTML, the XSL tags must be perfect, or the browser throws errors. As I said, the browser is very particular about things being pristine. No, the question is more about do I need to abandon XML::XSLT since I've apparently reached a practical limit of it's capability to support xsl 2.0. I'm planning to ask my Ruby coder down the hall if he has a Ruby method to render the HTML. I've never encountered something Perl wasn't up to doing, but it feels like this is the one....


In reply to Re^2: XML::XSLT v 50_5 error with xsl variables by misterperl
in thread 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.