AW: AW: AW: Xindice - Pipeline to db

2002-08-22 Thread praktikant

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

AW: Xindice - Pipeline to db

2002-08-21 Thread praktikant

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]




Re: AW: Xindice - Pipeline to db

2002-08-21 Thread KOZLOV Roman

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.

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




Re: AW: Xindice - Pipeline to db

2002-08-21 Thread KOZLOV Roman

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 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: AW: Xindice - Pipeline to db

2002-08-21 Thread praktikant

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

Re: AW: Xindice - Pipeline to db

2002-08-21 Thread John Moylan

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,'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]

  





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




AW: AW: Xindice - Pipeline to db

2002-08-21 Thread praktikant

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]




Re: AW: AW: Xindice - Pipeline to db

2002-08-21 Thread John Moylan

Xupdate seems to very buggy in Xindice 1.0, I had problems getting the 
Xindice Xupdate examples to work. If you search the xindice mail list 
you'll find lots of other  people have had problems.

praktikant wrote:

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?
  




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




Re: AW: AW: Xindice - Pipeline to db

2002-08-21 Thread John Moylan

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,'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]

  





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