On 29 Oct 2003, at 2:36, S Woodside wrote:Does the xsp:pi work at all in axkit? I tried something like this:
<xsp:page xmlns:xsp="http://www.apache.org/1999/XSP/Core" language="Perl"> <xsp:content> <xsp:pi target="xml-stylesheet"> <xsp:attribute name="href">/xsl/wiki/wiki.xsl</xsp:attribute> <xsp:attribute name="type">text/xsl</xsp:attribute> </xsp:pi> </xsp:content>
It should work, but not with <xsp:attribute> inside (just flat text - the fact that xml-stylesheet PIs look like attributes is just an accidental feature). Plus I don't think it'll work without an outer tag to indicate the start of the user root. Though perhaps I need to extend the start of the user root to include comments and PIs...
The xml-stylesheet PI *must* happen above the document element, so it won't work if it has to be under it :)
-- Robin Berjon <[EMAIL PROTECTED]> Research Scientist, Expway http://expway.com/ 7FC0 6F5F D864 EFB8 08CE 8E74 58E6 D5DB 4889 2488
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]