IMHO this is all undesirable. Xindice should provide a separate interface for retrieving those additional document attributes, and not stick them into each top level result element. Then it could also return any XML node as the result of an xpath query and still provide the additional attributes. Another problem with the added attributes is that you may have to remove them to validate results against a DTD or schema that doesn't expect them.
At 10:33 AM 6/11/02 -0700, you wrote:
Hi All, I am new to both XML and Xindice, and I apologize if this is a stupid/rtfm question. I looked around in faqs and archived messages, but couldn't find an answer.
The query I was trying to run was "//name/text()".
Stand-alone Xalan (2.3.1) works fine for this query, but Xindice (1.0)
doesn't return anything, though it works fine for "//name". I even changed the
default xalan library in Xindice to the 2.3.1 version, but that doesn't help either.
Is this a known bug/problem ? Or am I doing something wrong ?
Thanks, Amol.
Cheers, Gary
