Hi Florent,

An alternative will be to add another parameter, something like below maybe?

<xsl:param name="doc"/>
<xsl:param name="initial" as="document-node()" select="document($doc)"/>

Yes, you need to run two transformations. In the current development we implemented a Scenarios view that lists all the defined scenarios and one can invoke a scenario by double clicking on it, that may help a little. As an alternative you can create an Ant script to perform both transformations and invoke that through the external tools support that we offer in oXygen.

XProc would be indeed a nice addition. I have some concerns though: Norm's XProc implementation Calabaash is GPL and that means we cannot use it in oXygen...

Best Regards,
George
--
George Cristian Bina
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

Florent Georges wrote:
  Hi

  I have the following stylesheet parameter in one of my
stylesheets (note its type):

    <xsl:param name="initial" as="document-node()"/>

  I don't find how I can set its value in the scenario
editor.  Is it possible or do I have to create a driver
stylesheet getting a filename and parsing it to set this
parameter?  (really, I'd like to avoid that)

  As a slide question, this stylesheet is actually a
generated stylesheet.  But I didn't find a way in the
scenario editor to support meta-stylesheet (a double
transformation that first generates the stylesheet using the
meta-stylesheet, then transform a document using this
generated stylesheet.)  For now I have each time to launch
two scenarios one right after the other.  But maybe I just
didn't find the right way to achieve that?

  Best regards,

--drkm, looking forward to XProc as a scenario language ;-)






















_______________________________________________
oXygen-user mailing list
[email protected]
http://www.oxygenxml.com/mailman/listinfo/oxygen-user
_______________________________________________
oXygen-user mailing list
[email protected]
http://www.oxygenxml.com/mailman/listinfo/oxygen-user

Reply via email to