On Saturday 13 September 2003 02:28 pm, Matt Sergeant wrote: > On 13 Sep 2003, at 5:42, Robert Ferney wrote: > > I'm working on a system where I would like to be able to have blocks of > > content for the system stored in a database. including logical and form > > elements.. > > > > however, when I use esql tags to retrieve the xml from the database, it > > comes out with the tags escaped.. > > > > This is definatly the desired default behavior, but I kinda need the > > xml > > to be xml when I get it out.. > > any ideas? > > ESQL has a esql:get-xml tag for this.
And finally the last way would be to build your own taglib. TaglibHelper has the 'as_xml' option to let you simply return chunks of XML to be included into the output page. If the data you're recovering isn't stored AS XML in the database you could also just return perl data structures from your tag and let TaglibHelper convert them. > > Matt. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- Tod Harter Giant Electronic Brain http://www.giantelectronicbrain.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
