Subject: Re: using node fragments
From: David Carlisle <davidc@xxxxxxxxx>
Date: Mon, 14 Apr 2003 16:40:06 +0100
|
As I want to run this on two separate xsl processors (msxml on the PC and
sablotron on the mac) am I stuck with having to have two separate
stylesheets for use in this?
The pure xslt1 way is to write out the temporary doc and then process it
with a second stylesheet.
If you want to do it in one pass you'll need to use a node-set()
extension.
If both processors support exslt:node-set() you are in luck otherwise
you don't have to use two stylesheets, you can do
<xsl:when test="function-avalialable('xalan:node-set')"> ....
assuming xalan: is bound to xalan's extension namespace, and same for
sablotron.
David
________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
- using node fragments
- Woody - Mon, 14 Apr 2003 10:29:45 -0400 (EDT)
- David Carlisle - Mon, 14 Apr 2003 11:36:24 -0400 (EDT) <=
- <Possible follow-ups>
- Andrew Welch - Mon, 14 Apr 2003 11:39:08 -0400 (EDT)
- TSchutzerWeissmann - Mon, 14 Apr 2003 11:59:50 -0400 (EDT)
- Passin, Tom - Mon, 14 Apr 2003 12:42:12 -0400 (EDT)
- Woody - Mon, 14 Apr 2003 16:15:34 -0400 (EDT)
|
|