[pmwiki-users] PmWiki as XML source ?

Patrick R. Michaud pmichaud at pobox.com
Fri Jul 20 09:56:40 CDT 2007


On Fri, Jul 20, 2007 at 04:22:51PM +0200, Christophe David wrote:
> >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.

Wouldn't we also need at least a <?xml ...?> tag at 
the beginning?

As a start, see

  http://www.pmwiki.org/wiki/Test/XMLTest?skin=xml

Pm



More information about the pmwiki-users mailing list