cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From praktikant <praktik...@feltengmbh.de>
Subject Cocoon and Xindice
Date Mon, 19 Aug 2002 07:27:00 GMT
I want to get some xml data out of a xml database.
I have written some xml code to get the xml data, but I get only the source
code.

Output of the browser:

<?xml version="1.0" encoding="UTF-8" ?> 
<collection:results query="//person[contains(fname,'John')]" resources="1"
xmlns:collection="http://apache.org/cocoon/xmldb/1.0"> 
<collection:result docid="address1"> 
<person src:col="/db/addressbook" src:key="address1"
xmlns:src="http://xml.apache.org/xindice/Query"> 
<fname>John</fname> 
<lname>Smith</lname> 
<phone type="work">563-456-7890</phone> 
<phone type="home">534-567-8901</phone> 
<email type="home">jsmith@somemail.com</email> 
<email type="work">john@lovesushi.com</email> 
<address type="home">34 S. Colon St.</address> 
<address type="work">9967 W. Shrimp Ave.</address> 
</person> 
</collection:result> 
</collection:results>

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message