[oXygen-user] oXygen vocabulary for XSLT documentation
Alex Jitianu
alex_jitianu at sync.ro
Thu Sep 8 01:17:52 CDT 2011
Have you switched to the "Custom" format in the "XSL Stylesheet
Documentation" dialog? I forgot to mention that the main XSL that should
be specified in the "Options" dialog is "xslDocHtml.xsl" from the same
folder {oXygenInstallDir}/frameworks/stylesheet_documentation/xsl. The
stylesheets from the "frameworks" folder are a copy of the ones used for
the HTML format so you have to switch to "Custom" in order for them to
be used.
It's also helpful to check "Copy additional resources to the output
folder" - it will copy the images used by the HTML format.
Also, considering the fact that the output is HTML I think that your
approach to remove the prefix from the XHTML element is the way to go.
We will update the stylesheets ourselves with this fix. Thanks for
letting us know.
Regards,
Alex
Alex Jitianu
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
On 9/7/2011 6:00 PM, Florent Georges wrote:
> So I changed stylesheet_documentation/xsl/htmlDocToHtml.xsl by
> removing:
>
> <xsl:template match="h:*" mode="documentation">
> <xsl:copy>
> ...
>
> and changing it to:
>
> <xsl:template match="h:*" mode="documentation">
> <xsl:element name="{ local-name(.) }"
> namespace="http://www.w3.org/1999/xhtml">
> ...
>
> which should solve the problem, but it does not seem to change
> anything in the output (even after I restarted oXygen). Maybe I
> simply picked the wrong stylesheet?
>
> Regards,
>
> --
> Florent Georges
> http://fgeorges.org/
> http://h2oconsulting.be/
>
More information about the oXygen-user
mailing list