cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Mauri" <mma...@profesi.com.ar>
Subject Re: XSL question
Date Mon, 25 Mar 2002 15:51:14 GMT
RE: XSL questionOk, forget it anyway. Here goes another. Does anyone remember how to define
entities inside an xml file without the need of declaring the use of a DTD?

thanks!
  ----- Original Message ----- 
  From: Richard Korthuis 
  To: cocoon-users@xml.apache.org 
  Sent: Monday, March 25, 2002 12:42 PM
  Subject: Re: XSL question


  Hello,

  What is this outside source? Are you calling the xml with a param (http://..../index.xml?param=something)
or are you passing this parameter in some other way?

  Richard
    ----- Original Message ----- 
    From: Martin Mauri 
    To: cocoon-users@xml.apache.org ; Richard Korthuis 
    Sent: Monday, March 25, 2002 3:40 PM
    Subject: Re: XSL question


    Dear Richard,

    I understand what you say, but here the problem is if I can get a parameter from an outside
source, right?
      ----- Original Message ----- 
      From: Richard Korthuis 
      To: cocoon-users@xml.apache.org 
      Sent: Monday, March 25, 2002 11:32 AM
      Subject: Re: XSL question


      A while ago I made an XML (Cocoon 1.8) which requested a parameter passed on from a
form on a webpage. Maybe you can try something similar for your XSL?

      <xsp:page language="java"  xmlns:sql="http://www.apache.org/1999/SQL"
       xmlns:xsp="http://www.apache.org/1999/XSP/Core"
       xmlns:request="http://www.apache.org/1999/XSP/Request">

      <dates>
       <sql:execute-query>
        ....
        ....
        <sql:query>delete from rooster where uniek='<request:get-parameter name="uniek"/>'
        </sql:query>
       </sql:execute-query>
      </dates>

      </xsp:page>

      Regards

      Richard Korthuis
        ----- Original Message ----- 
        From: von Schwerdtner, Thomas (GXS, FPI) 
        To: 'cocoon-users@xml.apache.org' 
        Sent: Monday, March 25, 2002 3:13 PM
        Subject: RE: XSL question


        Ah, good point.  I have no experience with pre 2.x Cocoon, so I don't know what would
work.  I'm sure others around here can answer that though.

        -T
          -----Original Message-----
          From: Martin Mauri [mailto:mmauri@profesi.com.ar]
          Sent: Monday, March 25, 2002 9:07 AM
          To: cocoon-users@xml.apache.org
          Subject: Re: XSL question


          Hi Thomas,

          That's a good answer, unfortunately I forgot to point that I'm using Cocoon 1.8.2.
Is there a solution for it? thanks!
            ----- Original Message ----- 
            From: von Schwerdtner, Thomas (GXS, FPI) 
            To: 'cocoon-users@xml.apache.org' 
            Sent: Monday, March 25, 2002 10:53 AM
            Subject: RE: XSL question


            Yes. 

            There is a tutorial on this at cocooncenter.org: 

            http://www.cocooncenter.de/cc/documents/resources/request-params/index.html 



            -Tom 




            > -----Original Message----- 
            > From: Martin Mauri [mailto:mmauri@profesi.com.ar] 
            > Sent: Monday, March 25, 2002 8:56 AM 
            > To: cocoon-users@xml.apache.org 
            > Subject: XSL question 
            > 
            > 
            > Hi, this is a kind of offtopic question I think but anyway... 
            > 
            > Is there a possibility to pass a parameter to a stylesheet? 
            > 
            > I'd like to do the following: 
            > 
            > Given a stylesheet, I'd like to include another but depending 
            > on a parameter 
            > passed by some external source, say an xml page. 
            > 
            > thanks in advance. 
            > 
            > Martin 
            > 
            > 
            > --------------------------------------------------------------------- 
            > 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