Taglib and XML strings?

2004-06-01 Thread Jan Bauer Nielsen
Hello. I am trying to write a taglib in which records are returned to me as xml strings (stripped of PI's) through external lookup functionality, for example like records record title ... /title /record /records (newlines

Re: Taglib and XML strings?

2004-06-01 Thread Tom Schindl
Hi, What are you using, TagLibHelper or SimpleTagLib? I'm not really an XSP guru but I think it should work the following but I also could be completely wrong :-( TagLibHelper: = @EXPORT_TAGLIB = ( 'my_func():as_xml=1' ) sub my_func { return testsmy-val5/my-val/test; }

Re: Taglib and XML strings?

2004-06-01 Thread Jimmy Petersen
Jan Bauer Nielsen wrote: Hello. I am trying to write a taglib in which records are returned to me as xml strings One would think that the XML::LibXML::Element function 'appendWellBalancedChunk' would do the trick. However since this is only there for compatibility reasons and really just

Re: Taglib and XML strings?

2004-06-01 Thread Matt Sergeant
On 1 Jun 2004, at 14:38, Jimmy Petersen wrote: Jan Bauer Nielsen wrote: Hello. I am trying to write a taglib in which records are returned to me as xml strings One would think that the XML::LibXML::Element function 'appendWellBalancedChunk' would do the trick. However since this is only there