Thursday, October 15, 2015, 10:44:10 PM, Pradeep Murugesan wrote:
> Hi Daniel,
> So you are saying we need to have it that way and leave the
> responsibility to the caller. Lets say in case of us to get to check
> if template is preceded by formDataModel we will do the follwing ?
> <#local siblin
Hi Daniel,
So you are saying we need to have it that way and leave the responsibility to
the caller. Lets say in case of us to get to check if template is preceded by
formDataModel we will do the follwing ?
<#local siblingElement = .node.@@prev.@@prev>
then check the role attribute of siblingEle
Thursday, October 15, 2015, 4:13:18 PM, Pradeep Murugesan wrote:
> HI Daniel,
> Its not preceeded by white spaces but "\n" is taken as sibling.
\n is whitespace, and it's a sibling in XML.
> In book.xml dsadsd fdfsdfdsf
> dfds
> <#if cargo.weight <
> 100>Light cargo#if>
> I am trying to get
HI Daniel,
Its not preceeded by white spaces but "\n" is taken as sibling.
In book.xml dsadsd fdfsdfdsf
dfds
<#if cargo.weight <
100>Light cargo#if>
I am trying to get the programlisting with role formDataModel as
previousSibling. But the "\n" is returned as the sibling. To confirm the same I