Ability to set XSL params from plugin configuration
---------------------------------------------------
Key: MOJO-938
URL: http://jira.codehaus.org/browse/MOJO-938
Project: Mojo
Issue Type: New Feature
Components: xml
Reporter: Paul Shemansky
Assignee: Jochen Wiedmann
Priority: Minor
Just as in Ant's style/xslt task, it would be nice to be able to pass
parameters which will change the <xsl:param> declarations in the XSL document.
See : http://ant.apache.org/manual/CoreTasks/style.html
Example using the xslt (style) Ant Task :
<xslt basedir="${srcdir}"
destdir="${destdir}"
style="mystylesheet.xsl"
includes="*.xml">
<param name="myxslparamname" expression="myxslparamvalue"/>
</xslt>
Proposal for Maven XML plugin Configuration :
<configuration>
<transformationSets>
<transformationSet>
<dir>${srcdir}</dir>
<outputDir>${destdir}</outputDir>
<stylesheet>mystylesheet.xsl</stylesheet>
<includes>
<include>*.xml</include>
</includes>
<params>
<myxslparamname>myxslparamvalue</myxslparamname>
</params>
</transformationSet>
</tranformationSets>
</configuration>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email