cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From praktikant <praktik...@feltengmbh.de>
Subject AW: AW: Xindice - Pipeline to db
Date Wed, 21 Aug 2002 13:26:43 GMT
I thought xpath is only read-only in Xindice!?

	-----Ursprüngliche Nachricht-----
	Von:	John Moylan [mailto:john@rte.ie]
	Gesendet am:	Mittwoch, 21. August 2002 15:25
	An:	cocoon-users@xml.apache.org
	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:praktikant@feltengmbh.de]
	>	Gesendet am:	Mittwoch, 21. August 2002 08:52
	>	An:	cocoon-users@xml.apache.org
	>	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:
	><cocoon-users-unsubscribe@xml.apache.org>
	>	For additional commands, e-mail:
	><cocoon-users-help@xml.apache.org>
	>
	
>---------------------------------------------------------------------
	>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>
	>
	>  
	>




	
****************************************************************************
**
	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:
<cocoon-users-unsubscribe@xml.apache.org>
	For additional commands, e-mail:
<cocoon-users-help@xml.apache.org>

---------------------------------------------------------------------
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