Subject: Re: Cascading. ( Re: Recursive Template Application ) From: Matt Sergeant <matt@xxxxxxxxxxxx> Date: Tue, 20 Jun 2000 09:33:53 +0100 (BST) |
On Mon, 19 Jun 2000, Paul Tchistopolskii wrote: > > ----- Original Message ----- > From: Matt Sergeant > > > > > Actually there is a standard way, but its outside the realm of XSLT and > > > > inside the realm of XML. Its called "cascading" and is detailed in the > > > > HTML 4.0 spec, and referenced explicitly in > > > > http://www.w3.org/TR/xml-stylesheet > > I'm sorry, I failed to find the word 'cascading' in the URL you are providing. > (funny that, eh?) Not very funny at all - you just didn't look hard enough ;-) The concept of cascading is detailed in _the_HTML_4.0_spec_. The HTML 4.0 spec is "referenced explicitly in http://www.w3.org/TR/xml-stylesheet". Does that make sense now? > > > ... or you may just invoke Ux in command line mode, instead of invoking > > > XT itself. > > > > > > ux "transformation_1.xsl | transformation_2.xsl | transformation_n.xsl " > > > > That is not the same thing - this does not use the w3c ratified technique > > for cascading styling - like most other XSLT stylers, this uses a custom > > non-ratified, non-standard technique for cascading. > > It is good you have a standard technique to support some typical > usecases, like: > > "cat some.xml | aggregate.xsl | expand_widgets.xsl | render2pdf.xsl | render.class " > > and > > "cat some.xml | aggregate.xsl | expand_widgets.xsl | render2html.xsl " > > Mind to share how to do that with AxKit powered by appropriate w3c > standard technique for cascading ? Sure: "cat some.xml" The "cat" here picks up the stylesheets that are to be used from the <?xml-stylesheet?> processing instructions, as per the w3c spec. > > I'm sorry if it was not appropriate to place this view on chaining > in reply to your letter ( because I now realize that your leter was > actualy talking about the standards which are good for us, right ? ) Right. I'm not trying to flog AxKit to everyone here - most people will prefer a Java solution anyway (poor lost souls ;-)), just trying to point out that there is a standard for cascading that applies to XSLT. > > Poor me, who is now using document( "!/ ls | sort | verbose") in almost > every XSLT stylesheet .... It is not standard.... Indeed - I'm amazed it even works ;-) -- <Matt/> Fastnet Software Ltd. High Performance Web Specialists Providing mod_perl, XML, Sybase and Oracle solutions Email for training and consultancy availability. http://sergeant.org | AxKit: http://axkit.org XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Cascading. ( Re: Recursive Template, Paul Tchistopolskii | Thread | Re: Cascading. ( Re: Recursive Temp, Paul Tchistopolskii |
Re: Donating RenderX to FOP, David Tolpin | Date | RE: How to generate char ",, anatd |
Month |