Re: A Simple NSXML XPath Problem

2011-05-28 Thread Stephen J. Butler
On Sat, May 28, 2011 at 9:40 PM, Bing Li wrote: > The XML is pretty simple. > >     >     >        Orange ST >        RM235 >     > > The following code is use to extract the value of the road, "Orange ST". In > Java, the XPath is the same, i.e., /addresses/road. You're selecting the node which

A Simple NSXML XPath Problem

2011-05-28 Thread Bing Li
Dear all, I got a problem when extracting data from XML using NSXML and XPath. When doing the same thing using Java, it works fine. But using NSXML and XPath, the result is different. The XML is pretty simple. Orange ST RM235 The following code is use to extract t