[Portfolio] Use of xalan:evaluate

Noah Botimer botimer at umich.edu
Fri Feb 4 11:52:14 PST 2011

This is black magic. I would try to see if you can accomplish what you need with something like this rather than relying on extensions:

<xsl:variable name="someValue">
	<xsl:call-template name="someTemplate"/>

<xsl:template name="someTemplate>

<xsl:value-of select="$someValue" />

If you really can't get there, you may be able to add a custom method to the XsltFunctions extension in Sakai.


On Feb 4, 2011, at 2:02 PM, David McPherson wrote:

> Hi,
> I'm trying to write a stylesheet that will dynamically build an xpath expression that I'll use in a select for a Value-of.  I've done some googling and from what I can tell this is possible if I can use the xalan:evaluate.  I'm getting an uncaught exception when I add this into my stylesheet.  Has anyone used this before?  If so, how I can do what I need to do?
> Thanks,
> Dave
> --
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> David McPherson
> Assistant Director, ePortfolio Initiatives
> 2210A Torgersen Hall
> Learning Technologies
> dmcphers at vt.edu
> 540-231-8993
> _______________________________________________
> portfolio mailing list
> portfolio at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/portfolio
> TO UNSUBSCRIBE: send email to portfolio-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/portfolio/attachments/20110204/ae582fde/attachment.html 

More information about the portfolio mailing list