Orbeon & eXist browse collection?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Orbeon & eXist browse collection?

Forget It
Hi fellow Orbeon users

I'm playing with Orbeon's XForms Bookcast - and yes it is Xforms done right!

In the webapp all the book data gets stored in the same "xml file" books.xml
within the eXist database and I can get direct REST access to it independently using:
http://localhost:8080/orbeon/exist/rest/db/orbeon/xforms-bookcast/books.xml
Nice!

But now I'd like to modify this app so that each book occupied its own file e.g. book001.xml etc.
Before doing that I would like to know how to do a "directory listing" of the files in a given
collection.
Plain old eXist provides a way to list the contents of a collection using admin/admin.xql.
The same method doesn't seem to be available in Orbeon out of the box.

My question is: how can I most easily browse collection in Orbeon?
Reply | Threaded
Open this post in threaded view
|

Re: Orbeon & eXist browse collection?

Forget It
Cancel that request!

I just tried:
http://localhost:8080/orbeon/exist/rest/db/orbeon/xforms-bookcast/

and it gave me an xml listing - thanks that what I needed.

:-)



Forget It wrote
Hi fellow Orbeon users

I'm playing with Orbeon's XForms Bookcast - and yes it is Xforms done right!

In the webapp all the book data gets stored in the same "xml file" books.xml
within the eXist database and I can get direct REST access to it independently using:
http://localhost:8080/orbeon/exist/rest/db/orbeon/xforms-bookcast/books.xml
Nice!

But now I'd like to modify this app so that each book occupied its own file e.g. book001.xml etc.
Before doing that I would like to know how to do a "directory listing" of the files in a given
collection.
Plain old eXist provides a way to list the contents of a collection using admin/admin.xql.
The same method doesn't seem to be available in Orbeon out of the box.

My question is: how can I most easily browse collection in Orbeon?