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

passing xml-fragments(node lists) to a stylesheet

Subject: passing xml-fragments(node lists) to a stylesheet
From: "Philip Rangel" <pr@xxxxxxxxx>
Date: Wed, 15 Aug 2001 13:44:15 +0200
xsl fragments asp
Hello everybody,

I'm trying to figure out which would be the best way (performance)
to pass xml-fragments to a stylesheet.

We are retriving xml-data from the database through objects
which are called in asp. 
In some cases we need to retrive a second xmldata source.

As far as i can see there are many ways to achieve this.

1. throu the document("http://server/data.asp?params...) function

2. calling an object in the stylesheet:
<msxsl:script language="JScript" implements-prefix="user"> 
function nodelist(xpath) {
var myObj= new ActiveXObject("MyObject");
return myObj.selectNodes(xpath);
}
</msxsl:script>

3. passing a nodelist throu a paramter (supposed to work):
myProc.addParameter(myVariable, "myBaseName");
(I have only made it work for strings/numbers not for node lists. msxml3
+ sp1)

4. retrieving both sources merging them and than transforming.

I heard hat 2. and 3. are not recomended when performance is an issue.
Haven't seen anything about 1.
And the last solution 4. would make the asp development more complex.
which would be the most recomended solution and does anybody 
now how passing a nodelist throu a paramter should work?

Philp Rangel
engine software solutions


 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.