[ 
https://issues.apache.org/jira/browse/XALANJ-2816?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17950657#comment-17950657
 ] 

Mukul Gandhi edited comment on XALANJ-2816 at 5/10/25 3:59 PM:
---------------------------------------------------------------

For information to Xalan-J developers & users reading this jira issue thread, 
following are simple steps to use this feature:

1) If an XSL transformation is invoked using the Xalan-J class 
org.apache.xalan.xslt.Process, a command line option -init_template 
<template_name> can be specified to use this feature.
2) If an XSL transformation is invoked using jaxp's TraX api, method 
TransformerFactory.setAttribute("init-template", "template_name") can be called 
to use this feature.

To use this feature, providing an XML input document to be transformed is not 
mandatory. For this, with command line invocation options like following can be 
specified -xsl <xsl_file_name> -init_template <init_template_name>. For 
invocation with jaxp's TraX api, an XSL transformation can be invoked like 
transformer.transform(null, result), i.e, specifying transform() function's 
first argument as null.


was (Author: mukul_gandhi):
For information to Xalan-J developers & users reading this jira issue thread, 
following are simple steps to use this feature:

1) If an XSL transformation is invoked using the Xalan-J class 
org.apache.xalan.xslt.Process, a command line option -init_template 
<template_name> can be specified to use this feature.
2) If an XSL transformation is invoked using jaxp's TraX api, method 
TransformerFactory.setAttribute("init-template", "template_name") can be called 
to use this feature.

To use this feature, providing an XML input document to be transformed is not 
mandatory. For this, with command line invocation options like following can be 
specified -xsl <xsl_file_name> -init_template <init_template_name>. For 
invocation with jaxp's TraX api, an XSL transformation can be invoked like 
transformer.transform(null, result), i.e, transform function's first argument 
as null.

> implementation of xsl 3 transformation with an initial named template
> ---------------------------------------------------------------------
>
>                 Key: XALANJ-2816
>                 URL: https://issues.apache.org/jira/browse/XALANJ-2816
>             Project: XalanJ2
>          Issue Type: Task
>      Security Level: No security risk; visible to anyone(Ordinary problems in 
> Xalan projects.  Anybody can view the issue.) 
>          Components: Xalan-interpretive
>            Reporter: Mukul Gandhi
>            Assignee: Mukul Gandhi
>            Priority: Major
>
> I'm creating this jira issue, to track implementation of XSL 3 transformation 
> initial named template.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@xalan.apache.org
For additional commands, e-mail: dev-h...@xalan.apache.org

Reply via email to