RE: JXTemplate question

2012-11-16 Thread mika
Yes! This one works. #{$inneritem/text()} Thanks Robby! - mika - On Fri, 16 Nov 2012 13:48:27 +, Robby Pelssers wrote: 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 wha

Re: JXTemplate question

2012-11-16 Thread Francesco Chicchiriccò
On 16/11/2012 14:32, m...@digikartta.net wrote: > > Can you help me out with this. > > This works: > > > This doesn't > #{$inneritem} > > Or it does actually work, but the result in a) is "xxx" and in b) > xxx > > What I am doing this template is to create an html page out of xml > derived from CF

RE: JXTemplate question

2012-11-16 Thread Robby Pelssers
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 /root/tagname Give following a try /root/tagname/text() /root/tag