xpath question
Hi, I try to make a list of all hyperlinks in my collection. Each link is stored in an other resource. Can you help me? this is my Collection: ?xml version=1.0 encoding=UTF-8 ? collection:collections resources=6 collections=0 xmlns:collection=http://apache.org/cocoon/xmldb/1.0; collection:resource name=hans.xml / collection:resource name=joachim.xml / collection:resource name=joerg.xml / collection:resource name=martin.xml / collection:resource name=ruediger.xml / collection:resource name=stefan.xml / /collection:collections each Resource looks like this: ?xml version=1.0? person nameHolsten/name vornameHans/vorname hlinkhansh/hlink /person if I now use http://localhost:8080/cocoon/xmldb/mitarbeiter/?xpath=//hlink; I get: ?xml version=1.0 encoding=UTF-8 ? collection:results query=//hlink resources=6 xmlns:collection=http://apache.org/cocoon/xmldb/1.0; collection:result docid=hans.xml hlink xmlns:src=http://xml.apache.org/xindice/Query; src:col=/db/mitarbeiter src:key=hans.xmlhansh/hlink /collection:result collection:result docid=joachim.xml hlink xmlns:src=http://xml.apache.org/xindice/Query; src:col=/db/mitarbeiter src:key=joachim.xmljoachimh/hlink /collection:result collection:result docid=joerg.xml hlink xmlns:src=http://xml.apache.org/xindice/Query; src:col=/db/mitarbeiter src:key=joerg.xmljoergh/hlink /collection:result collection:result docid=martin.xml hlink xmlns:src=http://xml.apache.org/xindice/Query; src:col=/db/mitarbeiter src:key=martin.xmlmartinh/hlink /collection:result collection:result docid=ruediger.xml hlink xmlns:src=http://xml.apache.org/xindice/Query; src:col=/db/mitarbeiter src:key=ruediger.xmlruedigerh/hlink /collection:result collection:result docid=stefan.xml hlink xmlns:src=http://xml.apache.org/xindice/Query; src:col=/db/mitarbeiter src:key=stefan.xmlstefanh/hlink /collection:result /collection:results What I want to have is an output look mostly like that: hlinkhansh/hlink hlinkjoachimh/hlink hlinkjoergh/hlink hlinkmartinh/hlink hlinkruedigerh/hlink hlinkstefanh/hlink Is it possible to do so? I use Xindice 1.0. Thanks and regards Hans - 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
variables in cocoon
Hello, I try to get an input to store it later on in a xml database. I've looked in Samples/Serverpages/Logicsheet but I didn't understand: - how to get input into the variables and - how to send the variables to another xsp, xml, ... -file This is my code so far: It shows me String name=null; String vorname=null; String hlink=null; and the input-fields and when I type senden(submit) the data is gone. :o( XML-file: I think that it doesn't make sense yet. Later I want to have the data here. ?xml version=1.0? mitarbeiter values value param=vorname type=string/ value param=name type=string/ value param=hlink type=string/ /values /mitarbeiter XSL-file: I don't know how to handle the variables. ?xml version=1.0? xsl:stylesheet xmlns:xsl=http://www.w3.org/1999/XSL/Transform; version=1.0 xmlns:xsp=http://apache.org/xsp; xsl:template match=/ body xsp:page language=java xmlns:xsp=http://apache.org/xsp; xsp:logic String name=null; String vorname=null; String hlink=null; form action=mitarbeiter method=POST table border=1 input name=Eingabe type=hidden value=Add/ tr td paraVorname/para /td td input name=vorname type=text/ /td /tr tr td paraName/para /td td input name=name type=text/ /td /tr tr td paraHyperlink/para /td td input name=hlink type=text/ /td td input type=submit value=Senden/ /td /tr /table /form xsp:exprxsl:value-of select=name//xsp:expr /xsp:logic /xsp:page /body /xsl:template /xsl:stylesheet Sitemap: map:pipeline map:match pattern=mitarbeiter map:generate src=dbmitarbeiter/mitarbeiter.xml/ map:transform src=dbmitarbeiter/mitarbeiter.xsl type=xslt/ map:serialize type=html/ /map:match /map:pipeline thanks and regards Hans I use Win2k, Tomcat 4.0.4, Cocoon 2.0.3 (JDK1.3.1), Xindice 1.0, JDK1.3.1_04 and Wordpad :o) - 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Making a new Action
Hi, I have a further question on this. Actions are java code which i write seperatly from everything else. right. Do i save this file as a.java or .jsp? .java, and then you compile it. What directories do i have to place in into in order for it to properly compile you can compile it from anywhere, but you need your classpath set up to include anything mentioned in your .java file. and for the sitemap to see it? after it's compiled, place it in WEB-INF/classes (if you've used a package declaration, remember to duplicate the directory structure of the package). Alternatively you can jar it up with any other classes you create and place it in WEB-INF/lib I have made a package, but I don't understand this part: (if you've used a package declaration, remember to duplicate the directory structure of the package) Duplicate the directory structure? I don't know how? And where to place? Does this compiling happen automatically or do i have to do it manually? manually. Hope that helps, Geoff Howard thanks and regards Hans - 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
employee example for xml-db
I have just worked thru the employee example shipped with cocoon 2.0.3. For a newbie like me it's difficult to understand. That why I ask you Does someone have an easier example that shows how to use an XML-DATABASE? I want (try) to use only xsp without edXml or 4suite or something like that. Thanks and regards Hans - 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: AW: AW: Xindice - Pipeline to db
Mmmh, at first I will try this Editing XML Data Using XUpdate and HTML Forms http://www.xml.com/pub/a/2002/06/12/xupdate.html regards Praktikant Hans -Ursprüngliche Nachricht- Von:John Moylan [mailto:[EMAIL PROTECTED]] Gesendet am:Mittwoch, 21. August 2002 15:40 An: [EMAIL PROTECTED] Betreff:Re: AW: AW: Xindice - Pipeline to db Yes that is correct. praktikant wrote: I thought xpath is only read-only in Xindice!? -Ursprüngliche Nachricht- Von:John Moylan [mailto:[EMAIL PROTECTED]] Gesendet am:Mittwoch, 21. August 2002 15:25 An: [EMAIL PROTECTED] Betreff:Re: AW: Xindice - Pipeline to db You should not need too. Look at the sitemap for Cocoon 2.03. - It has a matcher for xmldb xpath queries. praktikant wrote: how can I write for example this http://localhost:8080/cocoon/xmldb/dvd/mi2.xml http://localhost:8080/cocoon/xmldb/dvd/mi2.xml http://localhost:8080/cocoon/xmldb/dvd/?xpath=//dvd/film http://localhost:8080/cocoon/xmldb/dvd/?xpath=//dvd/film http://localhost:8080/cocoon/xmldb/dvd/?xpath=//dvd/film[contains(cover,'m i 2 ') http://localhost:8080/cocoon/xmldb/dvd/?xpath=//dvd/film[contains(cover,' m i 2') ] into the sitemap.xmap? thanks -Ursprüngliche Nachricht- Von:praktikant [mailto:[EMAIL PROTECTED]] Gesendet am:Mittwoch, 21. August 2002 08:52 An: [EMAIL PROTECTED] Betreff:Xindice - Pipeline to db Hi, now I can use Xindice in Cocoon. I've had a wrong idea from using Xindice. Thanks Roman! :o) But I haven't found something about a pipeline to Xindice. How can I build a pipeline to Xindice? How can I write back to Xindice? How to use XUpdate? Has someone simple examples for it? My db is on .../xindice/db/dvd The resources named mi.xml mi2.xml mib.xml mib2.xml map:pipeline map:match pattern=dvd/mi2 type=wildcard map:generate src=xmldb/xpath/dvd/mi2.xml type=serverpages/ map:transform src=dvd/film.xsl type=xslt/ map:serialize type=xml/ /map:match /map:pipeline Sorry, but no idea how to use XUpdate. :-( I use WIN2k, Tomcat 4.0.4, Cocoon 2.0.3 (Java 1.3.x), Xindice 1.0, Java SDK 1.3.1_04 - 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] *** * ** The information in this e-mail
Xindice - Pipeline to db
Hi, now I can use Xindice in Cocoon. I've had a wrong idea from using Xindice. Thanks Roman! :o) But I haven't found something about a pipeline to Xindice. How can I build a pipeline to Xindice? How can I write back to Xindice? How to use XUpdate? Has someone simple examples for it? My db is on .../xindice/db/dvd The resources named mi.xml mi2.xml mib.xml mib2.xml map:pipeline map:match pattern=dvd/mi2 type=wildcard map:generate src=xmldb/xpath/dvd/mi2.xml type=serverpages/ map:transform src=dvd/film.xsl type=xslt/ map:serialize type=xml/ /map:match /map:pipeline Sorry, but no idea how to use XUpdate. :-( I use WIN2k, Tomcat 4.0.4, Cocoon 2.0.3 (Java 1.3.x), Xindice 1.0, Java SDK 1.3.1_04 - 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: Xindice - Pipeline to db
how can I write for example this http://localhost:8080/cocoon/xmldb/dvd/mi2.xml http://localhost:8080/cocoon/xmldb/dvd/mi2.xml http://localhost:8080/cocoon/xmldb/dvd/?xpath=//dvd/film http://localhost:8080/cocoon/xmldb/dvd/?xpath=//dvd/film http://localhost:8080/cocoon/xmldb/dvd/?xpath=//dvd/film[contains(cover,'mi2 ') http://localhost:8080/cocoon/xmldb/dvd/?xpath=//dvd/film[contains(cover,'mi 2') ] into the sitemap.xmap? thanks -Ursprüngliche Nachricht- Von:praktikant [mailto:[EMAIL PROTECTED]] Gesendet am:Mittwoch, 21. August 2002 08:52 An: [EMAIL PROTECTED] Betreff:Xindice - Pipeline to db Hi, now I can use Xindice in Cocoon. I've had a wrong idea from using Xindice. Thanks Roman! :o) But I haven't found something about a pipeline to Xindice. How can I build a pipeline to Xindice? How can I write back to Xindice? How to use XUpdate? Has someone simple examples for it? My db is on .../xindice/db/dvd The resources named mi.xml mi2.xml mib.xml mib2.xml map:pipeline map:match pattern=dvd/mi2 type=wildcard map:generate src=xmldb/xpath/dvd/mi2.xml type=serverpages/ map:transform src=dvd/film.xsl type=xslt/ map:serialize type=xml/ /map:match /map:pipeline Sorry, but no idea how to use XUpdate. :-( I use WIN2k, Tomcat 4.0.4, Cocoon 2.0.3 (Java 1.3.x), Xindice 1.0, Java SDK 1.3.1_04 - 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: AW: Xindice - Pipeline to db
Hi, it works! Pretty cool! And yes, I have already read the tutorials in the cocooncenter. Weeks ago and x-times. But it's not enough to unsterstand Cocoon. Now I've found CocoonWiki seems to be interesting. http://outerthought.net/wiki/Wiki.jsp?page=Cocoon http://outerthought.net/wiki/Wiki.jsp?page=Cocoon But nothing found about Xindice yet. Allow me one more question. :o) To write xml data into my Xindice db what do I use for? Xupdate? - and can I use Cocoon that for? -Ursprüngliche Nachricht- Von:KOZLOV Roman [mailto:[EMAIL PROTECTED]] Gesendet am:Mittwoch, 21. August 2002 13:22 An: [EMAIL PROTECTED] Betreff:Re: AW: Xindice - Pipeline to db Just one mistake: KOZLOV Roman wrote: Hi, praktikant wrote: how can I write for example this http://localhost:8080/cocoon/xmldb/dvd/mi2.xml http://localhost:8080/cocoon/xmldb/dvd/mi2.xml http://localhost:8080/cocoon/xmldb/dvd/?xpath=//dvd/film http://localhost:8080/cocoon/xmldb/dvd/?xpath=//dvd/film http://localhost:8080/cocoon/xmldb/dvd/?xpath=//dvd/film[contains(cover,'mi2 ') http://localhost:8080/cocoon/xmldb/dvd/?xpath=//dvd/film[contains(cover,'mi 2') ] into the sitemap.xmap? What for? If you want to get your XML data from Xindice db, then you just add to your sitemap a matcher with an appropriate generator source. For example: map:match pattern=dvd/** map:generate src=cocoon:/xmldb/dvd/{1}/ map:serialize type=xml/ /map:match Then you can get XML data by URL's you have pointed above. without /xmldb substring, for example http://localhost:8080/cocoon/dvd/mi2.xml Roman Note, that the sitemap has to contain also the matcher for xmldb/** (default cocoon's sitemap contains it already): map:match pattern=xmldb/** map:match type=request-parameter pattern=xpath map:generate src=xmldb:xindice://localhost:4080/{../1}#{1}/ map:serialize type=xml/ /map:match map:generate src=xmldb:xindice://localhost:4080/{1}/ map:serialize type=xml/ /map:match By the way, did you read this: http://cocooncenter.de/cc/documents/resources/xindice/index.html Best regards, Roman thanks -Ursprüngliche Nachricht- Von:praktikant [mailto:[EMAIL PROTECTED]] Gesendet am:Mittwoch, 21. August 2002 08:52 An: [EMAIL PROTECTED] Betreff:Xindice - Pipeline to db Hi, now I can use Xindice in Cocoon. I've had a wrong idea from using Xindice. Thanks Roman! :o) But I haven't found something about a pipeline to Xindice. How can I build a pipeline to Xindice? How can I write back to Xindice? How to use XUpdate? Has someone simple examples for it? My db is on .../xindice/db/dvd The resources named mi.xml mi2.xml mib.xml mib2.xml map:pipeline map:match pattern=dvd/mi2 type=wildcard map:generate src=xmldb/xpath/dvd/mi2.xml type=serverpages/ map:transform src=dvd/film.xsl type=xslt/ map:serialize type=xml/ /map:match /map:pipeline Sorry, but no idea how to use XUpdate. :-( I use WIN2k, Tomcat 4.0.4, Cocoon 2.0.3 (Java 1.3.x), Xindice 1.0, Java SDK 1.3.1_04 - 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before
AW: AW: Xindice - Pipeline to db
I thought xpath is only read-only in Xindice!? -Ursprüngliche Nachricht- Von:John Moylan [mailto:[EMAIL PROTECTED]] Gesendet am:Mittwoch, 21. August 2002 15:25 An: [EMAIL PROTECTED] Betreff:Re: AW: Xindice - Pipeline to db You should not need too. Look at the sitemap for Cocoon 2.03. - It has a matcher for xmldb xpath queries. praktikant wrote: how can I write for example this http://localhost:8080/cocoon/xmldb/dvd/mi2.xml http://localhost:8080/cocoon/xmldb/dvd/mi2.xml http://localhost:8080/cocoon/xmldb/dvd/?xpath=//dvd/film http://localhost:8080/cocoon/xmldb/dvd/?xpath=//dvd/film http://localhost:8080/cocoon/xmldb/dvd/?xpath=//dvd/film[contains(cover,'mi 2 ') http://localhost:8080/cocoon/xmldb/dvd/?xpath=//dvd/film[contains(cover,'m i 2') ] into the sitemap.xmap? thanks -Ursprüngliche Nachricht- Von:praktikant [mailto:[EMAIL PROTECTED]] Gesendet am:Mittwoch, 21. August 2002 08:52 An: [EMAIL PROTECTED] Betreff:Xindice - Pipeline to db Hi, now I can use Xindice in Cocoon. I've had a wrong idea from using Xindice. Thanks Roman! :o) But I haven't found something about a pipeline to Xindice. How can I build a pipeline to Xindice? How can I write back to Xindice? How to use XUpdate? Has someone simple examples for it? My db is on .../xindice/db/dvd The resources named mi.xml mi2.xml mib.xml mib2.xml map:pipeline map:match pattern=dvd/mi2 type=wildcard map:generate src=xmldb/xpath/dvd/mi2.xml type=serverpages/ map:transform src=dvd/film.xsl type=xslt/ map:serialize type=xml/ /map:match /map:pipeline Sorry, but no idea how to use XUpdate. :-( I use WIN2k, Tomcat 4.0.4, Cocoon 2.0.3 (Java 1.3.x), Xindice 1.0, Java SDK 1.3.1_04 - 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ** The information in this e-mail is confidential and may be legally privileged. It is intended solely for the addressee. Access to this e-mail by anyone else is unauthorised. If you are not the intended recipient, any disclosure, copying, distribution, or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. Please note that emails to, from and within RTÉ may be subject to the Freedom of Information Act 1997 and may be liable to disclosure. ** - 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Cocoon and Xindice
Hello! I'm a newbie. I tried to use the /db/addressbook shipped with Xindice. I've found some examples on http://cocooncenter.de. But the examples didn't run yet. If I try to run this : (db_test.xml) ?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 xmlns:src=http://xml.apache.org/xindice/Query; src:col=/db/addressbook src:key=address1 fnameJohn/fname lnameSmith/lname phone type=work563-456-7890/phone phone type=home534-567-8901/phone email type=home[EMAIL PROTECTED]/email email type=work[EMAIL PROTECTED]/email address type=home34 S. Colon St./address address type=work9967 W. Shrimp Ave./address /person /collection:result /collection:results I only get the xml-source (above) on the Browser! ??? This is the part of the sitemap.xmap: ... map:pipeline map:match pattern=db_test type=wildcard map:generate src=db_test.xml type=file/ map:serialize type=xml/ /map:match /map:pipeline ... -- if I type this http://localhost:8080/cocoon/xmldb/addressbook/?xpath=//person[contains(fnam e,'John') http://localhost:8080/cocoon/xmldb/addressbook/?xpath=//person[contains(fna me,'John') ] in my browser I get all data about John. -- So I ask you some questions: Do you know what I have done wrong? How do cocoon know which DB I want to use in the xml-file? I use Win 2k, Tomcat 4.0.4, Cocoon 2.0.3 (compiled on Java 1.3.x), Xindice 1.0, Java SDK 1.3.1_04 - 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Xindice and Cocoon
I get this when I go to the site. Source code (xml) instead of data (also xml) I use Win 2k, Tomcat 4.0.4, Cocoon 2.0.3 (compiled on Java 1.3.x), Xindice 1.0, Java SDK 1.3.1_04 - 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Cocoon and Xindice
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; fnameJohn/fname lnameSmith/lname phone type=work563-456-7890/phone phone type=home534-567-8901/phone email type=home[EMAIL PROTECTED]/email email type=work[EMAIL PROTECTED]/email address type=home34 S. Colon St./address address type=work9967 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: Cocoon and Xindice
Hi, that was the result of ?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 xmlns:src=http://xml.apache.org/xindice/Query; src:col=/db/addressbook src:key=address1 fnameJohn/fname lnameSmith/lname phone type=work563-456-7890/phone phone type=home534-567-8901/phone email type=home[EMAIL PROTECTED]/email email type=work[EMAIL PROTECTED]/email address type=home34 S. Colon St./address address type=work9967 W. Shrimp Ave./address /person /collection:result /collection:results This is a .xml - file used in the sitemap.xmap. And want I want to have is something like that person fnameJohn/fname lnameSmith/lname phone type=work563-456-7890/phone phone type=home534-567-8901/phone email type=home[EMAIL PROTECTED]/email email type=work[EMAIL PROTECTED]/email address type=home34 S. Colon St./address address type=work9967 W. Shrimp Ave./address /person but I don't know what to do. -Ursprüngliche Nachricht- Von:KOZLOV Roman [mailto:[EMAIL PROTECTED]] Gesendet am:Montag, 19. August 2002 09:45 An: [EMAIL PROTECTED] Betreff:Re: Cocoon and Xindice Hi, What source do you mean? The snippet you have sent is a result of xpath query on Xindice database (with xpath value //person[contains(fname,'John')] on the /db/addressbook collection). What do you mean by xml code to get xml data? Xindice data are retrieved by URL's with or without xpath parameter. Then the result xml could be processed in a pipeline. Roman praktikant wrote: 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; fnameJohn/fname lnameSmith/lname phone type=work563-456-7890/phone phone type=home534-567-8901/phone email type=home[EMAIL PROTECTED]/email email type=work[EMAIL PROTECTED]/email address type=home34 S. Colon St./address address type=work9967 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: Cocoon and Xindice
Hi, that's the point. I do not have the xml-data. I only get the uninterpreted xml source. -Ursprüngliche Nachricht- Von:kavitha ramesh [mailto:[EMAIL PROTECTED]] Gesendet am:Montag, 19. August 2002 13:37 An: [EMAIL PROTECTED] Betreff:Re: Cocoon and Xindice Hi, You have written that you get the xml data in the browser.If you need a html file in the browser, you have to use a stylesheet and your sitemap should be as follows: map:pipeline map:match pattern=db_test map:generate src=db_test.xml/ map:transform src=db_test.xsl/ map:serialize/ /map:match /map:pipeline You should have a stylesheet db_test.xsl! Kavitha Want to sell your car? advertise on Yahoo Autos Classifieds. It's Free!! visit http://in.autos.yahoo.com - 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: AW: Cocoon and Xindice
Sorry, my english isn't very good. :( My problem is that I get no response from my database when I use Cocoon. And I want to have the xml data from my xml database. But the browser shows me only the procedure that I have written to speak with the database I hope these explain it. -Ursprüngliche Nachricht- Von:KOZLOV Roman [mailto:[EMAIL PROTECTED]] Gesendet am:Montag, 19. August 2002 14:38 An: [EMAIL PROTECTED] Betreff:Re: AW: Cocoon and Xindice There is no difference. You have to transform your xml source to what you want. Roman praktikant wrote: Hi, that's the point. I do not have the xml-data. I only get the uninterpreted xml source. -Ursprüngliche Nachricht- Von:kavitha ramesh [mailto:[EMAIL PROTECTED]] Gesendet am:Montag, 19. August 2002 13:37 An: [EMAIL PROTECTED] Betreff:Re: Cocoon and Xindice Hi, You have written that you get the xml data in the browser.If you need a html file in the browser, you have to use a stylesheet and your sitemap should be as follows: map:pipeline map:match pattern=db_test map:generate src=db_test.xml/ map:transform src=db_test.xsl/ map:serialize/ /map:match /map:pipeline You should have a stylesheet db_test.xsl! Kavitha Want to sell your car? advertise on Yahoo Autos Classifieds. It's Free!! visit http://in.autos.yahoo.com - 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]