Volleynerd Knowledge Base

Friday, November 22, 2002


After ping, do arp -a to get MAC addresses for latest machines you've hit.

FYI - ReplayTV ID is really just the MAC address in decimal format.




Wednesday, November 13, 2002


XSLPattern vs XPath



MSXML parser has a SelectionLanguage property that you can set to specify whether the selectSingleNode and selectNodes methods use a particular syntax.

set the current query syntax with setProperty. Pass SelectionLanguage either "XPath" or "XSLPattern".
XSLPattern is the default for backward compatibility.

From my own testing with sample XSLT viewer, the major difference is:
XPath is 1-based in collections, XSLPatterns is 0-based

MSXML 3.0 help in MSDN seems to be inconsistent:
Here it says XPath is 0 based in the elements of a collection.
The following finds the first author element.

author[0]

Here it says XPath is 1 based.

For example, the following finds the first author element.
author[1]


This article talks about setting the above -- setting the default selection language.

XSLPattern apparently does not support functions such as count(), sum(), string-length(), etc.




Missing child - urban legends

keywords: urbanlegends folklore spam email



Monday, November 04, 2002


Q243298 - BUG: Error Message: C2668: InlineIsEqualGUID: Ambiguous Call to Overloaded Function

other ways to deal with this:
  • change to call IsEqualGUID (only defined in one place)
  • if only one interface on your object, derive from ISupportErrorInfoImpl<className> and remove the code from your cpp file.


keywords: ATL GUID namespace



Home