On Mon, 22 Apr 2002, Amarant Merah wrote:

> I'm new to jsp taglibs, and wondering if taglibs
> implementation in the future will allow taglibs as
> another taglibs attribute value.
> 
> For example:
> <xtags:style xml="<mycustomtaglib ... >"
> xsl="<mycustomtaglib ... >">

This pattern probably will never be allowed as such, but you can use
JSTL's <c:set> tag to capture the output of one tag and feed it to
another.  You'll probably find this easier to read anyway, in the end:

  <c:set var="myOutput">
    <my:customTag ... />
  </c:set>
  <x:transform xml="${myOutput}" .../>

This keeps with XML's syntax, even though it's a bit more verbose.

-- 
Shawn Bayern
"JSP Standard Tag Library"   http://www.jstlbook.com
(coming this summer from Manning Publications)


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

Reply via email to