Re: Is it possible to read a value generated from within an XSL file into a JSP?

Rashmi Rubdi <[email protected]>
Newsgroups gmane.comp.jakarta.taglibs.user
Message-ID <[email protected]>
Yes, this definitely helps I am now able to get additional information from the intermediate xslt transformation. 
   
  Sorry, if my question was inane, I'm a newbie to JSTL and I was looking for a way to do 2 xslt transformations, didn't know it was this easy.
   
  Thank you very much.

Kris Schneider <[email protected]> wrote:
  If you store the result of your transform in a var:



Then you can use / with an XPath expression to grab what you need.
Will that help or have I misunderstood what you're trying to do?

Quoting Rashmi Rubdi :

> Hello, 
> 
> I am trying to read a value that is generated inside an XSLT file
> (session_test.xsl ) , in to the JSP file (session_test.jsp) that contains
> the code to transform the XML (session_test.xml)
> 
> I want to store the value of sub-node , and the value of the generated id
> as session parameters inside the JSP file. 
> 
> Is there a way to read a value generated inside an XSL into the JSP ?
> 
> session_test.xml
> 
> 
> 
> 
> 
> some_value_1
> 
> 
> some_value_2
> 
> 
> some_value_3
> 
> 
> some_value_4
> 
> 
> 
> -----------------------------
> session_test.xsl
> 
> 
> > xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
> 
> 
> 
> 
> 

> 
>   
---------------------------------
  
> 
> 
> 
> ----------------------------------
> session_test.jsp
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> -Thank you

-- 
Kris Schneider 
D.O.Tech 

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



 __________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.