You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Henri Delebecque <de...@supelec.fr> on 2001/02/13 12:37:44 UTC

XSL question

Hello,

Is it possible to generate more than one file, starting from a single
xml file, using XSL ?

Fort example, I will describe a formal Web page (in XML), which
can include several "regions". In the HTML implementation of
this page, the different regions are translated into frames, one
for each region.

Thanks for your help

______________________________________________________________
| Henri Delebecque                        delebecq@supelec.fr |
| Webmaster                                                   |
| Supelec                          Tel (33)  01.69.85.14.91   |
| 3 rue Joliot-Curie                                          |
| Plateau de Moulon                 Fax:(33) 01.69.85.12.34   |
| 91190 Gif sur Yvette                                        |
| FRANCE                                                      |
|_____________________________________________________________|



Re: XSL question

Posted by Drasko Kokic <dr...@yahoo.com>.
<WHISPER level="20dB">All capitals does not mean I was
shouting.  I was just trying to grab the attention in
already 3 times quoted email. <SMILE/></WHISPER>

--- Sergio Carvalho <sc...@criticalsoftware.com>
wrote:
> 
> Don't shout please... I still didn't recover from
> last night's party.
> 
> On Wed, 14 Feb 2001 02:29:14 -0800 (PST)
> Drasko Kokic <dr...@yahoo.com> wrote:
> 
> 
> > 
> > MAYBE NOT SEND A BUNDLE OF FILES TO THE BROWSER IN
> ONE
> > HIT ... BUT CREATE A BUNDLE OF FILES IN MEMORY SO
> THAT
> > FOLLOWING REQUESTS COULD FETCH THEM.
> > MY FAVOURITE EXAMPLE IS THE GIF FILES CREATED ON
> FLY
> > (A USER REQUEST TRIGERS THE GENERATION OF THE
> > HTML(WML) PAGE WHICH IS REFERENCING A NEWLY
> CREATED
> > GRAPHICS FILE)
> > 
> > IS THAT ALREADY POSSIBLE?!
> > 
> 
> -- 
> Sergio Carvalho
> ---------------
> scarvalho@criticalsoftware.com
> 
> If at first you don't succeed, skydiving is not for
> you
> 
>
---------------------------------------------------------------------
> 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:
> <co...@xml.apache.org>
> For additional commands, e-mail:
> <co...@xml.apache.org>
> 


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

Re: XSL question

Posted by Sergio Carvalho <sc...@criticalsoftware.com>.
Don't shout please... I still didn't recover from last night's party.

On Wed, 14 Feb 2001 02:29:14 -0800 (PST)
Drasko Kokic <dr...@yahoo.com> wrote:


> 
> MAYBE NOT SEND A BUNDLE OF FILES TO THE BROWSER IN ONE
> HIT ... BUT CREATE A BUNDLE OF FILES IN MEMORY SO THAT
> FOLLOWING REQUESTS COULD FETCH THEM.
> MY FAVOURITE EXAMPLE IS THE GIF FILES CREATED ON FLY
> (A USER REQUEST TRIGERS THE GENERATION OF THE
> HTML(WML) PAGE WHICH IS REFERENCING A NEWLY CREATED
> GRAPHICS FILE)
> 
> IS THAT ALREADY POSSIBLE?!
> 

-- 
Sergio Carvalho
---------------
scarvalho@criticalsoftware.com

If at first you don't succeed, skydiving is not for you

Re: XSL question

Posted by Davanum Srinivas <di...@yahoo.com>.
Henri, Paul,

If you are ok with a non-standard extension to XSL you can use the Redirect extension in Xalan.
http://xml.apache.org/xalan-j/extensionslib.html#redirect

Thanks,
dims

--- Paul Russell <pa...@luminas.co.uk> wrote:
> * Henri Delebecque (delebecq@supelec.fr) wrote :
> > Is it possible to generate more than one file, starting from a single
> > xml file, using XSL ?
> 
> Not until XSLT1.1, no.
> 



=====
Davanum Srinivas, JNI-FAQ Manager
http://www.jGuru.com/faq/JNI

__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

Re: XSL question

Posted by Drasko Kokic <dr...@yahoo.com>.
--- Paul Russell <pa...@luminas.co.uk> wrote:
> * Henri Delebecque (delebecq@supelec.fr) wrote :
> > Is it possible to generate more than one file,
> starting from a single
> > xml file, using XSL ?
> 
> Not until XSLT1.1, no.
> 
> > Fort example, I will describe a formal Web page
> (in XML), which
> > can include several "regions". In the HTML
> implementation of
> > this page, the different regions are translated
> into frames, one
> > for each region.
> 
> You may be able to do this in the future by using
> the fragment extractor code I committed a few days
> ago, although this is far from ideal. The basic
> problem is that the web is requst orientated,
> so we can't send a bundle of files to the browser
> in one hit.

MAYBE NOT SEND A BUNDLE OF FILES TO THE BROWSER IN ONE
HIT ... BUT CREATE A BUNDLE OF FILES IN MEMORY SO THAT
FOLLOWING REQUESTS COULD FETCH THEM.
MY FAVOURITE EXAMPLE IS THE GIF FILES CREATED ON FLY
(A USER REQUEST TRIGERS THE GENERATION OF THE
HTML(WML) PAGE WHICH IS REFERENCING A NEWLY CREATED
GRAPHICS FILE)

IS THAT ALREADY POSSIBLE?!

> Take a look at what I've done
> so far with the content extractor in C2, and see
> what it can do.
> Ultimately, I'd like to be able to use XPaths to
> point to specific
> segments of the document, however, until I can use
> XPaths directly in a
> SAX environment, this would slow things down too
> much.
> 
> 
> P.
> -- 
> Paul Russell                                 Email: 
>  paul@luminas.co.uk
> Technical Director                             Tel: 
> +44 (0)20 8553 6622
> Luminas Internet Applications                  Fax: 
> +44 (0)870 28 47489
> This is not an official statement or order.    Web: 
>   www.luminas.co.uk
> 
>
---------------------------------------------------------------------
> 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:
> <co...@xml.apache.org>
> For additional commands, e-mail:
> <co...@xml.apache.org>
> 


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

Re: XSL question

Posted by Paul Russell <pa...@luminas.co.uk>.
* Henri Delebecque (delebecq@supelec.fr) wrote :
> Is it possible to generate more than one file, starting from a single
> xml file, using XSL ?

Not until XSLT1.1, no.

> Fort example, I will describe a formal Web page (in XML), which
> can include several "regions". In the HTML implementation of
> this page, the different regions are translated into frames, one
> for each region.

You may be able to do this in the future by using the fragment extractor
code I committed a few days ago, although this is far from ideal. The
basic problem is that the web is requst orientated, so we can't send a
bundle of files to the browser in one hit. Take a look at what I've done
so far with the content extractor in C2, and see what it can do.
Ultimately, I'd like to be able to use XPaths to point to specific
segments of the document, however, until I can use XPaths directly in a
SAX environment, this would slow things down too much.


P.
-- 
Paul Russell                                 Email:   paul@luminas.co.uk
Technical Director                             Tel:  +44 (0)20 8553 6622
Luminas Internet Applications                  Fax:  +44 (0)870 28 47489
This is not an official statement or order.    Web:    www.luminas.co.uk