Typo in 6.6.3 XPath Filtering <CITE> For example, the markup <e>Hello, <!-- comment --> world!</e> contains two text nodes. ... (e.g. by using the expression self::text()[string(parent::e)="Hello, world!"]). </CITE> In the markup example, there are 2 spaces (left and right of the comment), in the XPath expr., there is only one space between between the comma and world. Either we have to use: <VERSION1> <e>Hello, <!-- comment -->world!</e> self::text()[string(parent::e)="Hello, world!"] </VERSION1> <VERSION2> <e>Hello, <!-- comment --> world!</e> self::text()[string(parent::e)="Hello, world!"] </VERSION2> ChristianReceived on Friday, 10 August 2001 04:32:48 GMT
This archive was generated by hypermail 2.2.0 + w3c-0.29 : Thursday, 13 January 2005 12:10:14 GMT