Ferdinand Soethe wrote:
2. Use XHTML (that DokuWiki can generate) and have Forrest render it.
To do so I added this entry to my site.xml
<wiki1 label="Leitseite des Wiki" href="/cmspage/start.html"/>
and this section to my custom sitemap
<map:match pattern="cmspage/**.xml">
<map:generate type="html"
src="http://www.soethe.net/temp/dokuwiki/doku.php?id={1}&do=export_html"
/>
<map:transform
src="{project:resources.stylesheets}/html2document.xsl" />
<map:serialize type="xml" />
</map:match>
Which will in fact render the desired page, but
unskinned as bare html where I expected it to get skinned in the
usual way.
Any ideas what I did wrong?
Are you sure your match is being executed? It doesn't sound like it.
What do you get if you request /cmspage/start.xml? If the above
pipeline is executed (as it should) you will get an Doc version of
your XMS page.
You are right. A close look at the result of that pipeline shows that it
doesn't. I actually get the html delivered by dokuwiki.
...
To be sure I inserted a character into the stylesheet to render it
invalid and bingo I get
this message
"The content of elements must consist of well-formed character data or markup."
which tells me that my stylesheet is found and used.
Now I'm really out of ideas.
The only possibility I can think of is that your XSL is acting as a pass
through. Recheck you stylesheet.
Ross