On 04/10/2012 08:53, André Juffer wrote:
Hello,
I am dealing with the following problem. A REST resource returns an
(DTO) object called statistics (of type Statistics) holding various
properties. With string template, each property can be inserted into
an XML file, like
On 10/05/2012 09:30 AM, Francesco Chicchiriccò wrote:
On 04/10/2012 08:53, André Juffer wrote:
Hello,
I am dealing with the following problem. A REST resource returns an
(DTO) object called statistics (of type Statistics) holding various
properties. With string template, each property can be
Andre,
In my opinion, if you are dealing with XML data, you should turn your eyes
into XSL[T] instead of ST.
Greetings,
Greg
2012/10/5 André Juffer andre.juf...@oulu.fi
On 10/05/2012 09:30 AM, Francesco Chicchiriccò wrote:
On 04/10/2012 08:53, André Juffer wrote:
Hello,
I am dealing
On 05/10/2012 10:59, gelo1234 wrote:
Is there any reasonable benefit from using ST in transform layer ? I
tend to believe that C2/C3 authors overly favor ST templates in the
whole C architecture. Does it stem from the mere fact that ST is
deadly simple/fast to compute (transform data) while
I got this problem solved. As the DTO holds the requested information as
a Map, I added one method that returns a SetMap.EntryString, String.
With ST it is easy to iterate:
tribc:socials
$statistics.socialEventParticipation: { entry |
tribc:social
tribc:name$entry.key$/tribc:name
On 10/05/2012 12:05 PM, gelo1234 wrote:
Andre,
In my opinion, if you are dealing with XML data, you should turn your
eyes into XSL[T] instead of ST.
I use ST to create the initial XML from a DTO returned by a REST
resource ('EventResource'), like
...
MapString, Object map = new
Juffer [mailto:andre.juf...@oulu.fi]
Sent: Friday, October 05, 2012 11:15 AM
To: users@cocoon.apache.org
Subject: Re: [C3] Sting template, passing argument to method
I got this problem solved. As the DTO holds the requested information as a Map,
I added one method that returns a SetMap.EntryString
Hello,
I am dealing with the following problem. A REST resource returns an
(DTO) object called statistics (of type Statistics) holding various
properties. With string template, each property can be inserted into an
XML file, like
A$statistics.propertyA$/A
where the corresponding method on