-
I think if I give me code you can better understand:
IXMLDOMNode res = e.Source;
XmlDocument XmlSave = new XmlDocument();
XmlSave.LoadXml(res.xml);
XPathNavigator toto= XmlSave.CreateNavigator();
XslTransform xslt = new XslTransform();
xslt.Load(''addnamespace.xsl'');
XmlUrlResolver resolve= new XmlUrlResolver();
StringWriter result= new ...
-
Hi Agni,
Thanks for your help it's very nice!
but I have one question how to put an XmlDocument in a IXMLDOMNode?
If I try with text(IXMLDOMNode) and tostring(XmlDocument) that make me an error:
ModGeschaeft.text = Xmlr.OuterXml.ToString();
the error:
quote:Text is not allowed in the context of element ...
-
Hi Agni,
Thanks for your interest!
In the first time I was tinking to a webreference to the c# code but not with InfoPath dataconnection but it's also an good idea!
++
Thierry
Every moment hesitated is a moment gone for life!!! Think about it
-
Hi,
I wan't to refresh my primary datasource with the data of an xml but how to replace the structure of root element : Case
I have try this:
thisXDocument.DOM.selectSingleNode(''/ns1:Case'').xml= ModGeschaeft;
ModGeschaeft is an IXMLDOMNode
but VS say that : thisXDocument.DOM.selectSingleNode(''/ns1:Case'').xml
is read only
Is there any ...
-
Hi,
Is there any way to make asynchronous event? I wan't to query my webservice with a c# code but I don't need to have the answer directly! Is there anyway to continue to fill out my form during this call to my weservice?
I hope you understand!
++
Thierry
Every moment hesitated is a moment gone for life!!! Think about it
-
Hi Greg and Patrick, Thanks for your help!
I have understand why now!
The problem is that infopath can not have an optionnal attribute so when the attribute is an integer(for example) he always send this attribute and if it is empty he make an error of validation (like all other xml parser)!
So a good challenge for the next version of infopath ...
-
Hi,
quote:If you want a non String type attribute to be blank, you must change it to type String.
It's the worst things on infopath this probleme We have developp all the schema and now we have all to change!!!
It's so good! Thanks infopath if you hear me ;-)
If you know the reason can you explain me why? because for me it's ...
Thanks for ...
-
Hi,
Thanks for your answer! But:
It's very surprising that you can't see the version of the form!!!
When a user have an error with a form if it's not define with code you can't know which version it is ! ...
It's very stupid to make a versioning for form and hide it after!!!
++
Thierry
Every moment hesitated is a moment gone for ...
-
Hi,
When the user open a form for fill out! How he can click for see the version of the modele of this formular? is it possible for the user to see which version he has?
Thanks for your reply
++
Thierry
Every moment hesitated is a moment gone for life!!! Think about it
-
ok thanks for your answer! That work fine!
++
Thierry
Every moment hesitated is a moment gone for life!!! Think about it