cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robby Pelssers <>
Subject RE: JXTemplate question
Date Fri, 16 Nov 2012 13:48:27 GMT
What is the actual value of inneritem?  A tag? And yes... using XSLT this would have been a
breeze ;-)

But maybe you use the wrong xpath expression?  I'm not sure what the binding returns. 

Suppose your current xpath looks like


Give following a try


-----Original Message-----
From: [] 
Sent: Friday, November 16, 2012 2:33 PM
Subject: JXTemplate question

 Can you help me out with this.

 This works:
 <input type="text" value="#{$inneritem}"></input>

 This doesn't

 Or it does actually work, but the result in a) is "xxx" and in b)  <tagname>xxx</tagname>

 What I am doing this template is to create an html page out of xml  derived from CForms binding.
Guess this would have been easier with  XSL..
 So the idea is to initialize form controls with values from XML  elements, not with the whole
XML elements.

 - mika -

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

View raw message