|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Allowed return data types using addobject?
Hi, I am using ASP and MSXML. I am calling a COM object (written in VB) that is made available to an XSLT style sheet using XSLTprocessor.addobject. I can successfully call a method in the object from the style sheet that returns xml as a string ( so < becomes < etc.) to an xsl:variable but I want to call one that returns a tree to be converted into a node-set. I have tried all sorts of methods to accomplish this but none have been entirely successful. What data type should I use for the return value (within VB) of the COM method to achieve this and what should I be doing to turn this value into a node-set. Is it even allowable to return an object? My current approach is call a method that takes a string and returns an MSXML2.DOMDocument using: <xsl:variable name="msid"><xsl:value-of select="//rsc:docroot/@msid"/></xsl:variable> <xsl:variable name="links" select="myObj:resolveLinks(string($msid))"/> <xsl:variable name="doclinks" select="msxsl:node-set($links)"/> The ASP page that does the work tends to hang and time out. Any advice is much appreciated. Thanks, Neil. 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! Cast Your Vote
We need your help – Vote for DataDirect XML Products!
Winners and finalists announced at SOA World Conference in November. 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
|







