cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Navneet Joneja <Navneet.Jon...@Techspan.com>
Subject RE: XSP question
Date Fri, 25 May 2001 21:21:50 GMT
Thanks Oskar.
I went thru the util source and found that it accepts this form too:
<util:include-file>
 <util:name> blah blah blah </util:name>
</util:include-file>
Which works fine for me.
:)
- Navneet

-----Original Message-----
From: Oskar Werewka [mailto:ow5@poczta.onet.pl]
Sent: Friday, May 25, 2001 12:44 PM
To: cocoon-users@xml.apache.org
Subject: Re: XSP question



You can write something like this:

             <xsp:expr>
                 this.xspParser.parse(
                         new InputSource(
                                 new StringReader(
                                         you file  ......... 
session.getAttribute(".............")) .............
                                 )
                         )
                 ).getDocumentElement()
             </xsp:expr>

But somebody should give you a much better solution.
Shame on me ................. ;)


>Hi!
>I have this XSP sheet:
>--- begin---
><?xml version="1.0"?>
>
><?cocoon-process type="xsp" ?>
><?cocoon-process type="xslt" ?>
><?xml-stylesheet href="xslfiles/rsrc1.xsl" type="text/xsl"?>
>
><xsp:page
>   xmlns:xsp="http://www.apache.org/1999/XSP/Core"
>   xmlns:util="http://www.apache.org/1999/XSP/Util"
> >
>
><root>
><util:include-file name="xmlfiles/rsrc100.xml" />
></root>
>
></xsp:page>
>-- end ---
>The only problem is, I want to replace the <util:include-file>'s static
>parameter, with something I get from the request object. How would I go
>about doing that?
>
>TIA
>- Navneet
>
>---------------------------------------------------------------------
>Please check that your question has not already been answered in the
>FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
>To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
>For additional commands, e-mail: <cocoon-users-help@xml.apache.org>



-- 
26 maja - Dzien Matki. Wygraj kwiaty dla swojej Mamy!
Do rozdania 75 bukietow z dostawa i zyczeniami.
[ http://zakupy.onet.pl/prezenty.asp?k=7 ]


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message