G
Gene Vangampelaere
Hello,
How can I check if a parameter (node) already exists in my xmldocument?
If it does not exists I have to add it
example:
If ExistsNode("SID") Then
'add the node
End If
I need some help for the "ExistsNode" function
<xml version="1.0">
<parameters>
<parameter>
<paramName>patnr</paramName>
<paramValue>00000</paramValue>
</parameter>
<parameter>
<paramName>SID</paramName>
<paramValue>00898798798798798D8d000</paramValue>
</parameter>
<parameter>
<paramName>GUID</paramName>
<paramValue>0090-JDI900000000-KKKDL000</paramValue>
</parameter>
</parameters>
</xml>
How can I check if a parameter (node) already exists in my xmldocument?
If it does not exists I have to add it
example:
If ExistsNode("SID") Then
'add the node
End If
I need some help for the "ExistsNode" function
<xml version="1.0">
<parameters>
<parameter>
<paramName>patnr</paramName>
<paramValue>00000</paramValue>
</parameter>
<parameter>
<paramName>SID</paramName>
<paramValue>00898798798798798D8d000</paramValue>
</parameter>
<parameter>
<paramName>GUID</paramName>
<paramValue>0090-JDI900000000-KKKDL000</paramValue>
</parameter>
</parameters>
</xml>