Subject: [xsl] passing xml-fragments(node lists) to a stylesheet From: "Philip Rangel" <pr@xxxxxxxxx> Date: Wed, 15 Aug 2001 13:44:15 +0200 |
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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] 2D Graphs, Hewko, Doug | Thread | [xsl] Re: XSL Literature, Mark Galbreath |
[xsl] 2D Graphs, Ranajay Raychaudhuri | Date | RE: [xsl] 2D Graphs, Hewko, Doug |
Month |