[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] passing xml-fragments(node lists) to a stylesheet
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|