Am Tuesday, 10. June 2003 04:00, schrieb Jeremy Frumkin:
> I have an XSL file which adds a processing instruction to an XML file. I
> would then like AxKit to follow that processing instruction on the new
> document, but AxKit does not parse the newly created file to process the
> in-line instruction.
>
> I am adding:
>
> <xsl:processing-instruction name="xsl-stylesheet">
> <xsl:text>href="somestylesheet.xsl" type="text/xsl"</xsl:text>
> </xsl:processing-instruction>
>
> This yields an XML document with the 2nd line being:
>
> <?xml-stylesheet href="ToLNetscape.xsl" type="text/xsl"?>
>
>
> This should then cause the new XML file to be processed with the new
> processing instruction, no?

Sorry to disappoint you, not it should not. AxKit's pipelines are static, you 
can't change them halfway through. There are several ways to deal with that, 
for example by using the various AxAdd*Processor directives or one of the 
StyleChooser plugins available as part of AxKit and on CPAN.

-- 
CU
   Joerg

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to