cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tomek Piechowicz <>
Subject CForms: binding part(!) of xml document.
Date Mon, 27 Jul 2009 17:24:19 GMT
I`m trying to bind part of xml document from eXist xmldb, and I have 
some problems.
In my xmldb I have document projects.xml :

I tried to specify xpath in pipeline:  #/projects/project[id='1']  :

<map:match pattern="editproject2">
          <map:call function="editproject">
              <map:parameter name="function" value="{0}"/>
              <map:parameter name="documentURI" 

              <map:parameter name="bindingURI" 

After I started jetty and run editproject url in browser server threw 
exception :

"java.lang.StringIndexOutOfBoundsException: String index out of range: -1"

Can any one tell me how to fetch part of xml doc from xmldb and bind it 
to cform ? Is it possible to run xquery bind query result to cform ?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message