As far as I understand, this input module works with files (reads XML data using XPath expressions), but what I'd really like to have or get a hint on how-to do, is read XML data using XPath expression from current XML document in the pipeline (as I shown in my first message).

Sorry for the trouble.

Weez

----- Original Message ----- From: "Antonio Gallardo" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Sunday, May 29, 2005 4:48 PM
Subject: Re: Pipeline XPath Input module


On Dom, 29 de Mayo de 2005, 9:24, WeeZard dijo:
Instructions for this input module are very poor, so if I configure
JXPathMetaModule like this:

    <component-instance
class="org.apache.cocoon.components.modules.input.JXPathMetaModule"
logger="core.modules.input" name="myxpath">
      <input-module name="request-param"/>
      <function name="java.lang.String" prefix="str"/>
    </component-instance>

how would I use it? Simple example would do.

Sorry, I mean try the XMLFileModule:

Sorry for the last reply. I overlooked you request. Here is the info:

http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/components/modules/input/JXPathMetaModule.html

And this one has inside cocoon:

http://localhost:8888/samples/modules/xml.html

Best Regards,

Antonio Gallardo


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to