Tobias Strasser wrote:
well: "/*[local-name()='hugo' and
namespace-uri()='http://foo.bar.org']" is not a valid path :-)
What's wrong with it?
LocationPath -> AbsoluteLocationPath
AbsoluteLocationPath -> '/' RelativeLocationPath
RelativeLocationPath -> Step
Step -> AbbreviatedAxisSpecifier NodeTest '[' PredicateExpr ']'
NodeTest -> NameTest ("*")
PredicateExpr -> Expr
Expr -> AndExpr
AndExpr -> EqualityExpr 'and' EqualityExpr
EqualityExpr (1) -> PrimaryExpr (1) '=' Literal
EqualityExpr (2) -> PrimaryExpr (2) '=' Literal
PrimaryExpr (1) -> FunctionCall
PrimaryExpr (2) -> FunctionCall
It's not about the quotation marks, is it? :)
-- Andreas
On Wed, 16 Mar 2005 14:34:36 +0100, Michael Wechner
<[EMAIL PROTECTED]> wrote:
I tried to export an XML as follows:
session.exportDocView("/*[local-name()='hugo' and
namespace-uri()='http://foo.bar.org']", ....)
but receive an invalid path exception.
Any idea what might be wrong?
Or what other possibility is there to export stuff with namespaces used?
Thanks
Michi
--
Michael Wechner
Wyona Inc. - Open Source Content Management - Apache Lenya
http://www.wyona.com http://lenya.apache.org
[EMAIL PROTECTED] [EMAIL PROTECTED]
--
Andreas Hartmann
Wyona Inc. - Open Source Content Management - Apache Lenya
http://www.wyona.com http://lenya.apache.org
[EMAIL PROTECTED] [EMAIL PROTECTED]