Generate XML in Perl for Bricolage SOAP API with ease.
Essentially, Template::Declare::Bricolage is a simple subclass of Template::Declare that offers a functional interface for templating your XML. All the XML elements understood by the Bricolage SOAP interface are exported from Template::Declare::TagSet::Bricolage, which you can use independently if you require more control over the output.
However, what makes Template::Declare::Bricolage particularly convenient is that it sets up the templating environment and takes care of outputting the top-level
The declarative syntax of Template::Declare is another big plus. You can simply use the elements you require, and the module will take care of the rest.
To use Template::Declare::Bricolage, you'll mainly use the bricolage function. This function begins the XML document with the XML declaration and the top-level
In addition to all the templating functions exported by Template::Declare::TagSet::Bricolage, the module exports one more function, bricolage. This function helps generate your XML, and you can pass a block with the formatting functions to it.
Overall, using Template::Declare::Bricolage to generate XML for Bricolage SOAP interface is a breeze. It's a simple, convenient, and declarative way of generating XML for this purpose.
Version 0.01: N/A