You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-user@tomcat.apache.org by Ashish Srivastava <as...@yahoo.com> on 2004/03/30 02:20:55 UTC

jsp code with in XML content

Hi,
  I wrote some page renderers for a website in jsp.
The content of the page though is read from XML files.
I use xtags library (using XPath) to read the XML and
fill in the values in the jsp. I am new to XPaths but
is it possible to add JSP codes with in the XML and
when the renderer (jsp) reads the content adds the JSP
code with in the XML as if its own? May be wrong but
something like :

<xml>
  <summary>
     Some text!
     <jsp:..../>
  </summary>
</xml>

In the main JSP : 
<table>
Text is : <xtags:valueOf select="/xml/summary/"/>
</table>

In a good design the presentation should be different
from the content, but is there any way (hack) to do
it?

Thanks,
-Ashish



__________________________________
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html

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