Hi Kevin,

Kevin Stefanik wrote:
> 
> Is there a way to define the alternate stylesheets to be used by an xml file
> without putting the processing instructions into the xml file itself?  The
> stylesheets with which I need to do this feat are all just xsl.
> 
> I'm currently using stylesheet processing instructions with alternate="yes"
> and the StyleChooser::QueryString plugin but I wanted to get those processing
> instructions out of the xml file itself.
> 
> Options?

Use the AxStyleName directive in conjunction with the StyleChooser:

# always set a default
<AxStyleName "#default">
  AxAddProcessor text/xsl my_default.xsl
</AxStyleName>
<AxStyleName myotherstyle>
  AxAddProcessor text/xsl my_other_style.xsl
</AxStyleName>
...

Note: the single argument to the AxStyleName directive corresponds to
the 'title' attribute in the stylesheet PIs that you are removing.

HTH,
-kip

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

Reply via email to