Hey guys,
So this should be easy. :-)
I have an xsp that calls a method on an object. That object returns
wellformed xml, but isn't a taglib. How do I wrap it so that the xsp
will return the xml as xml? What I get is this:
<definition><gcxtable><community>matsmarauders</community><tablename>tbl
MatsSurvey21</tablename><status></status><name>mynewsurvey21</name><id>8
2</id><description>mynewsurvey7</description><parentid>0</parentid></gcx
table>
</definition><?xml version="1.0" encoding="UTF-8"?>
<tabletool table="http://gcx.ccci.org/NS/taglibs/TableTaglib/v1"
xsp="http://apache.org/xsp/core/v1"
param="http://axkit.org/NS/xsp/param/v1"
util="http://apache.org/xsp/util/v1"/>
which is obviously a bit mixed up. I've tried wrapping it in various
things like <xsp:content> and with <xsp:expr> and the like to no avail.
thanks.
Test.xsp
---------------------------------
<?xml version="1.0"?>
<?xml-stylesheet href="NULL" type="application/x-xsp"?>
<tabletool xmlns:table="http://gcx.ccci.org/NS/taglibs/TableTaglib/v1"
xmlns:xsp="http://apache.org/xsp/core/v1"
xmlns:param="http://axkit.org/NS/xsp/param/v1"
xmlns:util="http://apache.org/xsp/util/v1"
>
<xsp:logic>
use GCX::TableTaglib;
my $results = GCX::TableTaglib->buildNewTableReports(%argvars);
print $results;
</xsp:logic>
</tabletool>