FastSearchSkippingTextNodes

X

xmlFreak

what means

FastSearchSkippingTextNodes

really?

in the msdn I found for SelectSingleNode Method:

"...Optional Boolean. True skips all text nodes while searching for the
specified node. False includes text nodes in the search. Default value is
True.

Remarks
Setting the FastSearchSkippingTextNodes parameter to False diminishes
performance because Microsoft Word searches all nodes in a document against
the text contained in the node."

and for SelectNodes Method:

"...Optional Boolean. True skips all text nodes while searching for the
specified node. False includes text nodes in the search. Default value is
False.

Remarks
Setting the FastSearchSkippingTextNodes parameter to True diminishes
performance, because Microsoft Word searches all nodes in a document against
the text contained in the node."

It seems that both do the same things but why is the result in the one
method the opposit of the other?

In my opinion skip would enhance the performance? Or am I wrong?
 
W

Word Heretic

G'day "xmlFreak" <[email protected]>,

Your surmise appears correct to me as well, maybe a typo at MSDN.

Steve Hudson - Word Heretic

steve from wordheretic.com (Email replies require payment)
Without prejudice


xmlFreak reckoned:
 

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