Claims
- 1. A method for enacting changes to a document containing a template-based program that transforms tree-structured data from a first tree-structured data into a second tree-structured data, said method comprising:
providing an interface to permit selection of a document containing said template-based program; constructing a model of said template-based program in said selected document by parsing elements of said template-based program into a corresponding logical construct comprising a match condition and at least one generator, said match condition for determining whether an element in said first tree-structure data is to be processed by one or more of said at least one generator; and displaying a representation of said model to said user.
- 2. The method of claim 1, further comprising:
providing an interface allowing viewing said model and to allow manipulating or changing elements within said model; and automatically updating said selected document containing said template-based program to reflect said manipulations or changes of said model elements.
- 3. The method of claim 1, further comprising:
providing an interface to make a selection of a tree-structure-based input to be transformed by said template-based program on said selected document.
- 4. The method of claim 1, further comprising:
constructing an application map comprising a listing of events of an execution of said transformation defined by said template-based program.
- 5. The method of claim 1, wherein said template-based program comprises a tree-structure syntax.
- 6. The method of claim 5, wherein said first tree-structured data and said second tree-structured data comprise extensible Mark-up Language (XML) data and said template-based program comprises an XSLT (extensible Style Language Transformations) stylesheet.
- 7. The method of claim 1, as embodied in an application program running on a computer.
- 8. An editor for enacting changes to a document containing a template-based program that transforms tree-structured data from a first tree-structured data into a second tree-structured data, said method comprising:
a user interface to permit selection of a document containing said template-based program; model of said template-based program in said selected document constructed by parsing elements of said template-based program into a corresponding logical construct comprising a match condition and at least one generator, said match condition for determining whether an element in said first tree-structure data is to be processed by one or more of said at least one generator; and a display for representing said model to said user.
- 9. The editor of claim 8, further comprising:
a user interface allowing manipulations or changes to elements within said model; and an updater to automatically update said selected document containing said template-based program to reflect said manipulations or changes of said model elements.
- 10. The editor of claim 8, further comprising:
an interface to make a selection of a tree-structure-based input to be transformed by said template-based program on said selected document.
- 11. The editor of claim 8, further comprising:
an application map file comprising an application map having a listing of events of an execution of said transformation defined by said template-based program.
- 12. The editor of claim 8, wherein said template-based program comprises a tree-structure syntax.
- 13. The editor of claim 12, wherein said first tree-structured data and said second tree-structured data comprise eXtensible Mark-up Language (XML) data and said template-based program comprises an XSLT (extensible Style Language Transformations) stylesheet.
- 14. A computer system including the editor of claim 8.
- 15. A signal-bearing medium tangibly embodying a program of machine-readable instructions executable by a digital processing apparatus to perform a method of enacting changes to a document containing a template-based program that transforms tree-structured data from a first tree-structured data into a second tree-structured data, said method comprising:
providing an interface to permit selection of a document containing said template-based program; constructing a model of said template-based program in said selected document by parsing elements of said template-based program into a corresponding logical construct comprising a match condition and at least one generator, said match condition for determining whether an element in said first tree-structure data is to be processed by one or more of said at least one generator; and displaying a representation of said model to said user.
- 16. The signal-bearing medium of claim 15, said method further comprising: providing an interface for allowing viewing said model and to allow manipulating or changing elements within said model; and
automatically updating said selected document containing said template-based program to reflect said manipulations or changes of said model elements.
- 17. The signal-bearing medium of claim 15, said method further comprising:
providing an interface to make a selection of a tree-structure-based input to be transformed by said template-based program on said selected document.
- 18. The signal-bearing medium of claim 15, said method further comprising:
constructing an application map comprising a listing of events of an execution of said transformation defined by said template-based program.
- 19. The signal-bearing medium of claim 15, wherein said template-based program comprises a tree-structure syntax.
- 20. The signal-bearing medium of claim 19, wherein said first tree-structured data and said second tree-structured data comprise eXtensible Mark-up Language (XML) data and said template-based program comprises an XSLT (extensible Style Language Transformations) stylesheet.
CROSS-REFERENCE TO RELATED APPLICATIONS
[0001] The present Application is related to the following co-pending applications:
[0002] U.S. patent application Ser. No. ______, filed on ______, to Adler et al., entitled ““METHOD AND SYSTEM FOR STYLESHEET RULE CREATION, COMBINATION, AND REMOVAL”, having IBM Docket YOR920010609;
[0003] U.S. patent application Ser. No. ______, filed on ______, to Rose, K. H., entitled “METHOD AND SYSTEM FOR COPY AND PASTE TECHNOLOGY FOR STYLESHEET EDITING”, having IBM Docket YOR920010609; and
[0004] U.S. patent application Ser. No. ______, filed on ______, to Clarke et al., entitled “METHOD AND SYSTEM STYLESHEET EXECUTION INTERACTIVE FEEDBACK”, having IBM Docket YOR920010569,
[0005] all assigned to the present assignee, and all incorporated herein by reference.