xsl-list
[Top] [All Lists]

RE: XSL Variable problem

2005-03-09 13:54:38
I suspect you're making a common mistake: you're showing us the part of the
code where you think the bug is, but it's actually somewhere else. Try to
produce a complete stylesheet and source document that demonstrate the
problem. (Often the exercise of doing this locates the bug anyway).

Incidentally, as we tell people most days, 

<xsl:variable name="soldplan">
  <xsl:value-of select="$InputNodes[(_at_)AttrName='Selected H Plan']"/>
</xsl:variable>

is a very longwinded and inefficient way of writing

<xsl:variable name="soldplan" select="$InputNodes[(_at_)AttrName='Selected H
Plan']"/>

Michael Kay
http://www.saxonica.com/




--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>