[pmwiki-users] PmWiki as XML source ?

Christophe David pmwiki at christophedavid.org
Fri Jul 20 09:22:51 CDT 2007


> Sure... just create a skin for it, and omit the <!--HTMLHeader-->
> and <!--HTMLFooter--> directives.
> I'll be glad to create one for this, if someone can let me
> know what belongs and doesn't belong in the resulting output.

Well, basically, a page containg

<test>
   <whatever>123</whatever>
</test>

shown with the "XML" skin should return

an HTTP header "Content-Type: text/XML"

then nothing else than the text above.

this would open in a browser as XML with the default XSL of the browser.

On my current installation, I get other formatting code, possibly
coming from recipes, even with a stripped down skin.

Christophe



More information about the pmwiki-users mailing list