[xml] Escaping '/' in xpath
- From: Wendsomde Yameogo <yameogo secude com>
- To: xml gnome org
- Subject: [xml] Escaping '/' in xpath
- Date: Fri, 30 Mar 2001 15:36:38 +0100
Hi,
I would like to evaluate an Xpath expression which contains the '/'
character, which is also an operator in xpath. How to escape this
character or replace it with an entity reference? I couldn´t find
anything about it in the xpath spec. There is something about escaping
characters like '<' and other xml specific characters but nothing about
'/' which is an xpath operator.
My expression looks like:
/descendant-or-self::http://www.whatever.com:NodeName
(trying to find all NodeName Nodes with namespace
"http//:www.whatever.com")
Anybody an idea?
Thanx
-
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]