define a filter in c#

V

virgul

Hi,

I wan't to do my rules with code but I have a little probleme how to
define a filter

For define a field I do that:
IXMLDOMNode name2 =
thisXDocument.DOM.selectSingleNode("/my:UrkundeAG1/my:GR-Name2");
IXMLDOMNode name
=thisXDocument.DOM.selectSingleNode("/my:UrkundeAG1/my:GR-Name");
name= name2;

but if I wan't to add a filter I have try that but that don't work:

IXMLDOMNode GrName=
thisXDocument.DOM.selectSingleNode("/my:UrkundeAG1/my:NameVorname");
IXMLDOMNode sex2=
thisXDocument.DOM.selectSingleNode("/my:UrkundeAG1/my:GR-Sex2");
IXMLDOMNode sex=
thisXDocument.DOM.selectSingleNode("/my:UrkundeAG1/my:GruenderSex");

sex2= thisXDocument.DOM.selectSingleNode("sex[GrName=name2]");

Why that don't work or what I'm doing wrong

I'm coming crazy

Thanks for any help

++

Thierry
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top