Sure. thanks!.

-- dims

On 5/31/07, Peter Danielsen <[EMAIL PROTECTED]> wrote:
Hi,

I've been trying to create my own Axis2 codegen XSLT templates and
would like to factor out some common templates to a separate file
that can be included by others.  An example is a template that
generates a method signature.  It would be included in a template
that generate an interface and in one that generates an implementation
class.

The current URI resolver used by the
AxisServiceBasedMultiLanguageEmitter, XSLTIncludeResolver, requires
the value of an <xsl:include>'s href
attribute to be a property that's in its CodeGenConfiguration object.
It looks like the only way to set the property is to write code.
I'd rather just refer to it directly (setting the href to a value
that can be found by getResourceAsStream).  This should make
it easier to maintain the templates since there won't be duplicate
code to update when something changes.

I can open a JIRA and submit a patch that supports the current property
mechanism and the direct reference, if you'd like.


Peter

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




--
Davanum Srinivas :: http://davanum.wordpress.com

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

Reply via email to