On Monday 20 May 2002 18:54, Steve Willer wrote:
> On Mon, 20 May 2002, Matt Sergeant wrote:
> > > and you use "runto=100" in the URL, it will show you the XML after the
> > > OpenOffice conversion. You could hold on to the existing passthru to
> > > show the original openoffice file (or you could use "runto=0" instead,
> > > conceivably).
> >
> > How do you determine the ID values?
>
> In my case, I specify them manually. There's no need for the IDs to be
> sequential; they just have to be increasing.

Its perfectly sensible, no different really from the line numbers in old 
BASIC programs... (not that you young whippersnappers would remember that... 
;o).

Obviously your numbers would benefit from following some convention. 
Personally I was thinking it would be more handy to be able to "tag" every 
stylesheet somehow in your config file/PI and then you could specify which 
ones are to be used in a request with tag=whatever. Its basically just 
extending the stylechooser's use of the title attribute in PIs. You could 
even create named pipelines, something like:

<pipeline name="x">
...
</pipeline>

and then pick and choose the one you wanted with a URL parameter, etc. 
Obviously that would subsume the functionality of passthru (with an empty 
pipeline).
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to