This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Passing RTF into an XSL Doc using MSXSL
- From: "Kovach, Dave" <dave dot kovach at sap dot com>
- To: "'xsl-list at lists dot mulberrytech dot com'" <xsl-list at lists dot mulberrytech dot com>
- Date: Thu, 24 Jan 2002 19:52:59 +0100
- Subject: RE: [xsl] Passing RTF into an XSL Doc using MSXSL
- Reply-to: xsl-list at lists dot mulberrytech dot com
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@msn.com [mailto:brad_vrudney@msn.com]
Sent: Thursday, January 24, 2002 8:52 AM
To: XSL-List@lists.mulberrytech.com
Subject: [xsl] 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