Sorry, I totally forgot about this question and now I need the answer again. Here's an example which doesn't have anything to do with XHTML, but the problem is the same: namespaces. Let's say I have this xml document:
<?xml version="1.0" encoding="UTF-8"?>
<root xmlns="http://arhimed.matf.bg.ac.rs" xmlns:arhimed="http://arhimed.matf.bg.ac.rs">
<p>Some text about Arhimed.</p>
<p>That' all. Bye.</p>
</root>
and I try XPath query
//arhimed:p
A message box pops up and says:
"Namespace Manager or XsltContext needed. This query has a prefix, variable, or user-defined function."
Can something be done about it? Thanks
↧