On Thu, 14 Nov 2002 [EMAIL PROTECTED] wrote:

> I also tried such coding :
> 
>     <c:set var="MyDOM" value="${prebuild_DOM}"/>
>     <x:out select="${MyDOM}//*"/>
> 
> then I was welcomed by a NullPointerException.

You can do it, but the syntax you're using is wrong.  The JSTL tags don't
care whether the DOM you're using has come from <x:parse> or from a
servlet.  But either way, you must refer to it using XPath variables, not
the JSTL EL inside the 'select' attribute.  Thus, you'd write

 <x:out select="$MyDOM//*" />

-- 
Shawn Bayern
"JSTL in Action"   http://www.manning.com/bayern


--
To unsubscribe, e-mail:   <mailto:taglibs-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:taglibs-user-help@;jakarta.apache.org>

Reply via email to