Free Support Forum - aspose.com

Bug found in SelectNodes method

When calling method SelectNodes("//FieldStarts") some comments fields are truncked and so not merged. This bug is really blocking. Can you please provide a workaround.

Hi

Thanks for your interest in Aspose products. I think that you can try to use GetChiedNodes method. For example see the following code.

NodeCollection collect = doc.GetChildNodes(NodeType.FieldStart, true);

foreach (FieldStart start in collect)

{

//do something

}

I hope that this will help you.

Also could you please provide more information about this problem?

Best regards.