Subject: RE: Passing RTF into an XSL Doc using MSXSL
From: "Kovach, Dave" <dave.kovach@xxxxxxx>
Date: Thu, 24 Jan 2002 19:52:59 +0100
|
Brad,
My quick help (hopefully someone will come in and solve
your specific issue) - do a search on the archives of this list
[december 2001 or january 2002] for a similar problem/
solution I had that Chris Bayes answered)... but, what you need
to use is MSXML addObject...
"Allows you to pass objects to a stylesheet"
much like AddParameter:
oProcessor.AddObject "myVarRTF", SomeXMLNodeSet
Sincerely,
David Kovach
SAP Labs
Palo Alto, CA
-----Original Message-----
From: brad_vrudney@xxxxxxx [mailto:brad_vrudney@xxxxxxx]
Sent: Thursday, January 24, 2002 8:52 AM
To: XSL-List@xxxxxxxxxxxxxxxxxxxxxx
Subject: Passing RTF into an XSL Doc using MSXSL
I am having trouble getting msxsl:node-set($RTF) to work on fragments that
are passed into the document using:
Set oProcessor = oTemplate.CreateProcessor()
oProcessor.AddParameter "myVarRTF", SomeXMLNodeSet
If I have :
<xsl:param><node>1</node><node>2</node><node>3</node></xsl:param>
at the root level, It converts the default values fine to a node-set, but If
I pass in values, it doesn't work...I just get 0 values in my node-set, and
no errors exist.
I have no trouble using this function anywhere internally, but I can't get a
fragment passed into to convert to a node-set
I'm using MSXML 4.0. Can anyone help?
_________________________________________________________________
Join the world's largest e-mail service with MSN Hotmail.
http://www.hotmail.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|