I found this very useful post about an easy way of replacing xpath expressions in a template
http://blogs.adobe.com/mtg/2010/07/a_generic_way_to_use_template.html
I found this especially useful since I've been involved in a few projects that required us to create html templates that had dynamic values in them. Rather than having to create a custom component to do the mapping and replacing, I'm able to use this simple snippet of code in a script object.
Monday, December 3, 2012
Subscribe to:
Posts (Atom)