Dear Mr.
Strachan,
I work as MPEG-7 specialist for an
Austrian Computer Science Institute. Recently, I work also with
DOM/JDOM/XML/XPATH in order to handle MPEG-7 documents (XML-Schema based
documents) for retrieving needed information.
Unfortunately, XPATH doesn't work
with XML document when namespace are defined. Only Xalan (Apache org) seems to
retrieve some information, but only when I specify the prefix, e.g.:
"/mpeg7:mpeg7/mpeg7:Description//mpeg7:FreeTextAnnotation").
In order to use JDOM, I have
installed the JAXEN XPATH search engine. Unfortunately, after one day of tests
and efforts, nothing seems to work. I retrieve no results. And I have tried
all (relative/absolute XPATH expressions, create and assign namespace to the
document, elements, etc, using NamespaceContext (? How to use it correctly? No
examples are provided)., etc.).
Can you give me some advices or
some simple examples, which could help me to solve my
problem?
Thank you for your attention and
help.
Sincerely yours,
Michael Z.
--------------------------------------------------------------------------------------
Michael
Zufferey
Institute of
Information Systems
& Information Management
JOANNEUM RESEARCH Forschungsgesellschaft
mbH
Steyrergasse 17, A-8010 Graz, AUSTRIA
phone:
+43-316-876-1245 fax:
+43-316-876-1191
mobile: +43-650-600-99-16
web: http://iis.joanneum.at
e-mail: mailto:[EMAIL PROTECTED]
--------------------------------------------------------------------------------------