From: "Carole E. Mah" <[EMAIL PROTECTED]>
> However, I need to use the non-hard-coded version. This is the whole
> reason for using xtags, because jstl-x only has an empty <x:param /> tag,
> so I cannot use <req:parameter> with it. However, xtags nicely allows
> <xtags:param>to be non-empty</xtags:param> -- thank you so much for this.

With JSTL you can do something like this...

<x:transform
        xsltUrl="/test1.xsl"
        xmlUrl="/test.xml">
  <x:param name="currentID" value='${param["myID"]' />
</x:transform>


(I think - is that the current way to do it Shawn?)


> 
> Your normalize-space suggestion fixed it! (Doh! should have thought of
> that myself!)

Or you could just avoid the whitespace around the <req:parameter> tag. e.g.

<xtags:style xml="/test.xml" xsl="/test2.xsl">
  <xtags:param name="currentID"><req:parameter name="myID" /></xtags:param>
</xtags:style>

> Now I can pass in parameters. Thank you thank you thank you!

Great!

James



_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


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

Reply via email to