Merge 2 XML Documents using XSLT Transform

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
<span style="color:#323232; font-family:verdana,geneva,lucida,lucida grande,arial,helvetica,sans-serif; font-size:13px; background-color:#f6fafb Hi,<br/>
<br/>
I have an XSLT which merges 2 XML Documents provided as input parameters. I<br/>
want to use that XSLT in my dot net code(C#). Please help me that how can I<br/>
handle this situation.
<span style="background-color:#f6fafb <span style="color:#323232; font-family:verdana,geneva,lucida,lucida grande,arial,helvetica,sans-serif; font-size:x-small Example: input C:/f1.xml and <span style="color:#323232; font-family:verdana,geneva,lucida,lucida grande,arial,helvetica,sans-serif; background-color:#f6fafb; font-size:small C:/f1.xml
<span style="color:#323232; font-family:verdana,geneva,lucida,lucida grande,arial,helvetica,sans-serif; background-color:#f6fafb; font-size:small In XSLT:
<span style="background-color:#f6fafb <span style="color:#323232; font-family:verdana,geneva,lucida,lucida grande,arial,helvetica,sans-serif; font-size:x-small
<span style="color:#323232; font-family:verdana,geneva,lucida,lucida grande,arial,helvetica,sans-serif; font-size:x-small <xsl:param name="pSource2" select="C:f2.xml"/>
<span style="color:#323232; font-family:verdana,geneva,lucida,lucida grande,arial,helvetica,sans-serif; font-size:x-small <xsl:variable name="vSource2" select="document($pSource2,/)"/>
<span style="color:#323232; font-family:verdana,geneva,lucida,lucida grande,arial,helvetica,sans-serif; font-size:x-small Error:Execution of the document() function was prohibited. Use the XsltSettings.EnableDocumentFunction property to enable it. An
error occurred at C:......
<span style="color:#323232; font-family:verdana,geneva,lucida,lucida grande,arial,helvetica,sans-serif; font-size:x-small Why error? and
<span style="text-decoration:underline HOW TO FIX ?
<span style="color:#323232; font-family:verdana,geneva,lucida,lucida grande,arial,helvetica,sans-serif; font-size:x-small Thanks


View the full article
 
Back
Top