RE: [xsl] Retrieve External String XML Data as Object

Subject: RE: [xsl] Retrieve External String XML Data as Object
From: <A.J.Bull@xxxxxxxx>
Date: Wed, 21 Sep 2005 13:41:11 +0200
Finally!  It works, but I still am not 100% sure why.

So, I changed my script to the following:

 <msxsl:script language="VB" implements-prefix="user">
 	Public Shared Function TransformToNodeset(ByVal arg As String) As
        Dim doc As New System.Xml.XmlDocument
        Return doc
    	End Function

...having found a simpler way to do the parsing of the XML fragment from
RecipInstituteNum.  Then, I changed the way I was dealing with the variable:

	<xsl:variable name="institute">
		<xsl:copy-of select="user:TransformToNodeset(RecipInstituteNum)"/>

...and finally, per David's suggestion, I substituted xsl:copy-of in for
xsl:value-of, even though it gives me a string in the end anyway:


Maybe there's some overkill but it works!



This email message is intended only for the use of the named recipient.
Information contained in this email message and its attachments may be
privileged, confidential and protected from disclosure. If you are not the
intended recipient, please do not read, copy, use or disclose this
communication to others. Also please notify the sender by replying to this
message and then delete it from your system.

Current Thread