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 "<tests><my-val>5</my-val></test>";
}

SimpleTagLib:
=============
my_funct : struct
{
   return { test => { my-val => "5" } };
}

Tom

Jan Bauer Nielsen wrote:
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 inserted here only for readability).

How do I insert these xml strings as part of the resulting XSP page with as little overhead as possible? Right now axkit escapes the string <records> -> &lt;records&gt;

With regards.
Jan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to