Hi!
I want to merge two xml files.
Ex: I want to merge the file 2 into the file 1.
file 1
<aaa>
<bbb>Canada</bbb>
<eee>Belgium</eee>
</aaa>
file 2
<aaa>
<bbb>USA</bbb>
<ccc>Canada</ccc>
<ddd>France</ddd>
</aaa>
result
<aaa>
<bbb>USA</bbb>
<ccc>Canada</ccc>...
I have a string containing the xsl sequence.
XPathNavigator nav = root.CreateNavigator();
// Transform the file.
XslTransform xslt = new XslTransform();
StringWriter swXml = new StringWriter();
xslt.Load(????);
is there a fonction like LoadXsl or someting like that?
I don't want to use a xsl...
Hello!
I'm trying to create my Xpath in a variable and give to the copy-of function. The problem is the xml result. The xpath is not execute by the copy-of function, the xpath is displayed on the screen! What's i'm doing wrong???
I'm doing it because my xpath is normally in another xml file...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.