* Derek Hart wrote in microsoft.public.dotnet.xml:
This is probably so simple. I am doing a SelectSingleNode to get the value
from an XPath statement, and I simply want the 3 leftmost characters.
SelectSingleNode selects a single node; a 3 character string is not a
node, so you cannot do this using SelectSingleNode. You would need a
different method that supports this kind of query, I am not sure your
version of the .NET Framework has one. It might be easier to select
the attribute node and retrieve the 3 characters using native String
operations.
--
Björn Höhrmann · mailto:bj****@hoehrmann.de ·
http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 ·
http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 ·
http://www.websitedev.de/