System and method for generating XSL transformation documents
First Claim
1. A computer configured to create a transformation document in response to user input, the computer comprising:
- a user output device;
a processor; and
a memory that includes a software application which configures the processor to display a series of screens on the user output device to gather input from the user, and further configures the processor to create a transformation document in response to said input,wherein the series of screens includes;
a load screen that prompts the user for an input document name; and
a select screen that shows entities of the input document in tree form and allows the user to select input document entities for inclusion in the transformation document;
wherein the software application constructs the transformation document according to the following pattern;
+21 +48 xml version+32 +37 1.0+38 +48 +22 +21 xsl;
wherein “
stylesheet PREDETERMINED ATTRIBUTES PROVIDED HERE+22 +21 xsl;
include href+32 +37 IncludeFile.xsl+38 +0 /+22 +21 xsl;
strip-space elements+32 +37 *+38 +0 /+22 +21 xsl;
output method+32 +37 text+38 +0 encoding+32 +37 utf-8+38 +0 /+22 GLOBAL VARIABLES (IF ANY) DEFINED HERE+32 xsl;
template match+32 +37 /+38 +22 +21 xsl;
apply-templates select+32 +37 TemplateName1+38 /+22 +21 xsl;
apply-templates select+32 +37 TemplateName2+38 /+22 . . .+21 xsl;
apply-templates select+32 +37 TemplateNameN+38 /+22 /xsl;
template+22 +21 xsl;
template match+32 +37 TemplateName1+38 +22 ENTITY 1 ACTION DEFINED HERE +21 /xsl;
template+22 +21 xsl;
template match+32 +37 TemplateName2+38 +22 ENTITY 2 ACTION DEFINED HERE +21 /xsl;
template+22 . . .+21 xsl;
template match+32 +37 TemplateNameN+38 +22 ENTITY N ACTION DEFINED HERE +21 /xsl;
template+22 +21 /xsl;
stylesheet+22
IncludeFile.xsl”
is a filename for a library of standardized routines, and wherein “
TemplateNamex”
is a name for a template that specifies an action for a corresponding entity,wherein the software application allows the user to specify an output document format, and wherein the transformation document, when applied to an input document, configures a transformation engine to generate an output document having the specified output document format,wherein the specified output document format is fixed-length, and wherein the software application constructs non-conditional entity templates according to the following pattern;
+21 xsl;
wherein “
template match+32 +37 TemplateNamex+38 +22 LOCAL VARIABLE (IF ANY) DEFINED HERE+21 xsl;
call-template name+32 +37 strextractor+38 +22 +21 xsl;
with-param name+32 +37 str+38 +22 +21 xsl;
value-of select+32 +37 VariableNamex+38 /+22 +21 /xsl;
with-param+22 +21 xsl;
with-param name+32 +37 fixlength+38 +0 select+32 +37 Length+38 +0 /+22 +21 xsl;
with-param name+32 +37 padside+38 +0 select+32 +37 Side+38 +0 /+22 +21 xsl;
with-param name+32 +37 padchar+38 +0 select+32 +37 Char+38 +0 /+22 +21 xsl;
call-template+22 +21 xsl;
template+22
strextractor”
is a name of a library routine that produces a fixed length field, wherein “
VariableNamex”
is a name of a variable that stores a value for the fixed length field, “
Length”
is a field size, “
Side”
is an indicator of which side of the value to add pad characters on, and “
Char”
is a character to use for padding the value.
12 Assignments
0 Petitions
Accused Products
Abstract
A system and method is disclosed for generating XSL transformation documents. A software wizard presents a series of screens to lead the user through the authoring process. The screens include a load screen, a select screen, a new entity screen, a conditional screen, and a view screen. The load screen prompts the user for an input document name. The wizard then retrieves XML entities from the input document and presents them to the user in tree form on the select screen. The user selects entities from the tree for inclusion in the output document. The new entity screen allows the user to create new entities for inclusion in the output document. These entities are accumulated in an output list. The conditional screen allows the user to make entities from the output list conditional. The view screen allows review of a tentative transformation document that will accomplish the user'"'"'s purpose.
-
Citations
2 Claims
-
1. A computer configured to create a transformation document in response to user input, the computer comprising:
-
a user output device; a processor; and a memory that includes a software application which configures the processor to display a series of screens on the user output device to gather input from the user, and further configures the processor to create a transformation document in response to said input, wherein the series of screens includes; a load screen that prompts the user for an input document name; and a select screen that shows entities of the input document in tree form and allows the user to select input document entities for inclusion in the transformation document; wherein the software application constructs the transformation document according to the following pattern;
+21 +48 xml version+32 +37 1.0+38 +48 +22 +21 xsl;
stylesheet PREDETERMINED ATTRIBUTES PROVIDED HERE+22+21 xsl;
include href+32 +37 IncludeFile.xsl+38 +0 /+22+21 xsl;
strip-space elements+32 +37 *+38 +0 /+22+21 xsl;
output method+32 +37 text+38 +0 encoding+32 +37 utf-8+38 +0 /+22GLOBAL VARIABLES (IF ANY) DEFINED HERE +32 xsl;
template match+32 +37 /+38 +22+21 xsl;
apply-templates select+32 +37 TemplateName1+38 /+22+21 xsl;
apply-templates select+32 +37 TemplateName2+38 /+22. . . +21 xsl;
apply-templates select+32 +37 TemplateNameN+38 /+22/xsl;
template+22+21 xsl;
template match+32 +37 TemplateName1+38 +22ENTITY 1 ACTION DEFINED HERE +21 /xsl;
template+22+21 xsl;
template match+32 +37 TemplateName2+38 +22ENTITY 2 ACTION DEFINED HERE +21 /xsl;
template+22. . . +21 xsl;
template match+32 +37 TemplateNameN+38 +22ENTITY N ACTION DEFINED HERE +21 /xsl;
template+22+21 /xsl;
stylesheet+22wherein “
IncludeFile.xsl”
is a filename for a library of standardized routines, and wherein “
TemplateNamex”
is a name for a template that specifies an action for a corresponding entity,wherein the software application allows the user to specify an output document format, and wherein the transformation document, when applied to an input document, configures a transformation engine to generate an output document having the specified output document format, wherein the specified output document format is fixed-length, and wherein the software application constructs non-conditional entity templates according to the following pattern;
+21 xsl;
template match+32 +37 TemplateNamex+38 +22LOCAL VARIABLE (IF ANY) DEFINED HERE +21 xsl;
call-template name+32 +37 strextractor+38 +22+21 xsl;
with-param name+32 +37 str+38 +22+21 xsl;
value-of select+32 +37 VariableNamex+38 /+22+21 /xsl;
with-param+22+21 xsl;
with-param name+32 +37 fixlength+38 +0 select+32 +37 Length+38 +0 /+22+21 xsl;
with-param name+32 +37 padside+38 +0 select+32 +37 Side+38 +0 /+22+21 xsl;
with-param name+32 +37 padchar+38 +0 select+32 +37 Char+38 +0 /+22+21 xsl;
call-template+22+21 xsl;
template+22wherein “
strextractor”
is a name of a library routine that produces a fixed length field, wherein “
VariableNamex”
is a name of a variable that stores a value for the fixed length field, “
Length”
is a field size, “
Side”
is an indicator of which side of the value to add pad characters on, and “
Char”
is a character to use for padding the value. - View Dependent Claims (2)
-
Specification