[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
sreejith m wrote:
It is not possible in XSLT 1.0 to output more than one file. It is inherit to the design you are having (framesets) that you need at least three files: left frame, right frame and frameset. You can use one XSLT (not recommended) and then use several modes and call it three times with three modes. But it will be much clearer to yourself and fellow coders to just create three XSLT files.
If you want three files to be output, you'll have to use XSLT 2.0.
Well, then it's up to you to create the correct output filename when you run the XSLT against your source that matches the url inside the frameset html file.
It does add some clarity. Do you mean that you have an XML source and want to use a processor instruction to let it render your page? Because in that case, you should create the the panes in one HTML design (no frameset, just tables). But that will require a different approach.
Are you running your XSLT on the server side or the client side? How do you invoke the XSLT?
Re: [xsl] Dynamic creation of Frame view from XML using XSLT Regex match!
Subject: Re: [xsl] Dynamic creation of Frame view from XML using XSLT Regex match! From: Abel Braaksma <abel.online@xxxxxxxxx> Date: Mon, 10 Sep 2007 06:23:28 +0200 |
sreejith m wrote:
The above two render a html page with the XML content rendered into a html tabular format using the XSLT.
What I want is :
a) the XSL should be able to generate a single html
output with a frameset
It is not possible in XSLT 1.0 to output more than one file. It is inherit to the design you are having (framesets) that you need at least three files: left frame, right frame and frameset. You can use one XSLT (not recommended) and then use several modes and call it three times with three modes. But it will be much clearer to yourself and fellow coders to just create three XSLT files.
If you want three files to be output, you'll have to use XSLT 2.0.
b) whatever I *Currently* get should go to right frame
Well, then it's up to you to create the correct output filename when you run the XSLT against your source that matches the url inside the frameset html file.
c) the XSL should also generate left frame which acts as an index page to the right frame. The hyperlinks in lframe are the <h1> words (table headings) from the rframe, which point to the corresponding table in the right frame itself.
Hope this adds a little clarity?
It does add some clarity. Do you mean that you have an XML source and want to use a processor instruction to let it render your page? Because in that case, you should create the the panes in one HTML design (no frameset, just tables). But that will require a different approach.
Are you running your XSLT on the server side or the client side? How do you invoke the XSLT?
Cheers, -- Abel Braaksma
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Dynamic creation of Frame, sreejith m | Thread | [xsl] How many levels of nodes can , Alice Wei |
Re: [xsl] Dynamic creation of Frame, sreejith m | Date | [xsl] Javascript for extension func, Colin Paul Adams |
Month |