[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Cascading ( Or processing twice?) how to apply-templates

Subject: Re: Cascading ( Or processing twice?) how to apply-templates to results
From: Dan Morrison <dman@xxxxxxxx>
Date: Sun, 23 Apr 2000 21:37:43 +1200
apply stylesheet twice
Paul Tchistopolskii wrote:
> 
> 2. Use XSLT-engine-specific-not-portable to-node-set()
> hack/typecast ( turn result tree fragment into node-set ).
...
> Or just use plain OS pipe ( 2 stylesheets e t.c. - could be
> even faster ;-)

Dang. I don't like the sound of 2. , so I guess I'll keep it in the
logic of my parsing application/environment. It's doing heaps of
meta-maniplulation already, so I guess one more tweak is no great loss.
I really wanted to find a compliant way to do it though...
Ah well.
 
What I'll do is have XSLa insert an <?xml-stylesheet href="XSLb.xsl" ?>
instruction in its output, and get the parser to scan for that before
pumping out its results.
That will be the least intrusive way of telling any other system (I test
on three platforms) what I'm up to.

Thanks.

.dan.


:=====================:====================:
: Dan Morrison        : The Web Limited    :
:  http://here.is/dan :  http://web.co.nz  :
:  dman@xxxxxxxx      :  danm@xxxxxxxxx    :
:  04 384 1472        :  04 495 8250       :
:  025 207 1140       :                    :
:.....................:....................:
: If ignorance is bliss, why aren't more people happy?
:.........................................:


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.