I suspect you need to determine if your using the EL verison or the RT version. The RT verison does not support ${} expression syntax, maybe try <%=page.getAttribute("xslt")%> instead and see if it still doesn't work.



Thomas McDonald wrote:

Nope, didn't work. thanks though.

I have a funny feeling this has something to do with
either the web.xml file and or the .tld file

--- "MARU, SOHIL (SBCSI)" <[EMAIL PROTECTED]> wrote:

Try changing the name of
url="/includes/xslt/sortablegrid.xslt" to
url="/includes/xslt/sortablegrid.xsl"
The name of the file should not include .xslt but
should be .xsl

-----Original Message-----
From: Thomas McDonald [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 03, 2004 3:09 PM
To: [EMAIL PROTECTED]
Subject: xslt expression



I keep getting the error "According to TLD or attribute directive in tag file, attribute xslt does not accept any expressions"

"doesn't accept expressions??!!"  That seems
absolutely crazy to me.  Does it really want me to
type in a whole xsl document?  I have to deliver the
xsl document via an expression.  I must be doing
something wrong.  Any ideas?

Here is my code code:

<%@ taglib prefix="c"
uri="http://java.sun.com/jstl/core"; %>
<%@ taglib prefix="x"
uri="http://java.sun.com/jstl/xml"; %>
<c:import url="/includes/xslt/sortablegrid.xslt"
var='xslt'/>
<x:transform  xslt="${xslt}">
<%=objXML.getXml().toString().trim()%>
</x:transform>

__________________________________
Do you Yahoo!?
Yahoo! Search - Find what you're looking for faster
http://search.yahoo.com



---------------------------------------------------------------------


To unsubscribe, e-mail:
[EMAIL PROTECTED]
For additional commands, e-mail:
[EMAIL PROTECTED]



---------------------------------------------------------------------


To unsubscribe, e-mail:
[EMAIL PROTECTED]
For additional commands, e-mail:
[EMAIL PROTECTED]




__________________________________ Do you Yahoo!? Yahoo! Search - Find what you’re looking for faster http://search.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-- Mark Diggory Software Developer Harvard MIT Data Center http://www.hmdc.harvard.edu

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to