logo
Toggle navigation
Begin main navigation
About
Projects
Download
Documentation
Wiki
Forums
Log In
Go!
OpenACS – The Toolkit for Online Communities
:
Forums
:
OpenACS Q&A
:
creating a package that outputs xml
: One Message
Begin main content
Forum OpenACS Q&A: Re: creating a package that outputs xml
Search:
Back to OpenACS Q&A
2
:
Re: creating a package that outputs xml
(response to
1
)
Posted by
Dave Bauer
on
05/12/08 09:57 PM
Check out the templating documentation at
YOURSITE/doc/acs-templating
You probably need to remove the <master> tag from your ADP templates. That will suppress the openacs template around your content. If the content is in a Tcl variable, you can also just return it from the Tcl script like this:
ns_return 200 text/html $var
or
ns_return 200 text/xml $var
3
:
Re: creating a package that outputs xml
(response to
2
)
Posted by
Matthew Smith
on
05/13/08 01:31 AM
Thank you, Dave. I'll check it out.
Cheers.
Back to OpenACS Q&A