Not getting names of documents when storing nonXML objects

Hi All,
I am facing a problem.
I am able to store nonXML objects into xml database using both the tamino interactive interface and using the Java DOM API.

But when i want to retrieve nonXML objects I am only able to retrieve using there id’s only, I am not able to retrieve using there names.
i.e.
http://localhost/tamino/myDB/Collection/XRay/@1
works fine or
http://localhost/tamino/myDB/Collection?_xql=XRay/@ino:id
works fine, but if i want to retrieve names using the query:
http://localhost/tamino/myDB/Collection?_xql=XRay/@ino:docname
this doesn’t work.

Can anyone tell me the possible solution why am I not able to retrieve objects using there names while I am able to retrieve using there id’s.

Thanks and regards,
Rajpal

Which version of Tamino are you using?

How exactly do you specify the names when you the nonXML instances?

Please either quote the Java Source code that
uses the DOM API or explain exactly who you do it using the Tamino Interactive interface - perhaps by posting a screen shot (or both)

Hi,
I am using a trial version of Tamino 2.3.1.4.
In the Tamino Interactive Interface, when i store I just give the path of the nonXML object in the Process field as:
c:\temp\test.doc

While querying nonXML objects I just query by entering the following in the query field:
/Xray
where Xray is the doctype.

Now this query returns me:

- xql:result











</xql:result>

No document names are shown while the names are given.

Could help me regarding this.
Thanks in anticipation
Rajpal

quote:
Originally posted by Nigel Hutchison:
Which version of Tamino are you using?

How exactly do you specify the names when you the nonXML instances?

Please either quote the Java Source code that
uses the DOM API or explain exactly who you do it using the Tamino Interactive interface - perhaps by posting a screen shot (or both)


When you store the nonXML Documents, how are you storing them? Are you specifing a name? If you do not then when you query you will only get the ino:id and not the ino:docname, e.g:

xql:result


</xql:result>

In this case the 2nd image I stored without a name.

Could you show sample code that is storing the nonXML?

From the TII to store a document with a name, specify something like the following in the Database URL field:
http://localhost/tamino/myDB/Collection/XRay/Bone001.jpeg