Hi David,

Am Dienstag, den 07.02.2017, 11:19 -0500 schrieb David Curylo:
> Sascha,
> Because of xmlns=“http://docbo…” in the outer ‘info’ node, you need
> to specify that namespace with SelectSingleNode.  To do so, you
> also need an XmlNamespaceManager.
> 
> var nsmgr = new
> XmlNamespaceManager(xmlDoc.NameTable);nsmgr.AddNamespace(“whatever",
> "http://docbook.org/ns/docbook";);var productNumberNode =
> doc.SelectSingleNode(“//whatever:productnumber", nsmgr);
> 
That works perfectly. Thank you very much.

Greetings
Sascha

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
Mono-list maillist  -  Mono-list@lists.dot.net
http://lists.dot.net/mailman/listinfo/mono-list

Reply via email to