Claims
- 1. A method of displaying mapping relationships defined by a plurality of instruction elements, each said instruction element providing a relation between zero or more source elements and zero or more result elements, wherein each said source element comprises one of a plurality of source elements and each said result element comprises one of a plurality of result elements, said method comprising:
providing a representation comprising a portion of said mapping relationships and including at least one of said plurality of source elements, said plurality of instruction elements, and said plurality of result elements; selecting one of said elements in said representation; highlighting said selected element in said representation; and propagating highlighting to other elements related by said mapping that are displayed in said representation.
- 2. The method of claim 1, further comprising:
providing an input to cause an execution of a transformation process that defines said mapping relationships, said input causing said source elements to become an input into at least one of said instruction elements to produce at least one of said result elements.
- 3. The method of claim 2, further comprising:
establishing a mapping file providing a correspondence between said plurality of source elements, said plurality of instruction elements, and said plurality of result elements, based upon said source elements having been processed by said plurality of instruction elements in said transformation process.
- 4. The method of claim 3, wherein said propagating highlighting comprises:
determining a propagation from said mapping file by determining which of said source elements, said instruction elements, and said result elements correspond to said selected element; and providing a highlighting of any of said corresponding elements currently visible on said representation, said representation being user-controlled.
- 5. The method of claim 4, further comprising:
providing a user an input as a command to request said propagation determination to occur.
- 6. The method of claim 4, wherein said plurality of instruction elements comprises an XSLT (eXtensible Style Language Transformations) stylesheet, said plurality of source elements comprises XML (eXtensible Markup Language) source elements, and said plurality of results elements comprises XML result elements.
- 7. The method of claim 4, wherein said highlighting comprises at least two levels of highlighting such that a primary highlighting level indicates which elements are directly related to said selected element and a secondary highlighting level indicates which elements, if any, are less directly related to said selected element.
- 8. A computer comprising:
a display device; and a module for displaying mapping relationships defined by a plurality of instruction elements, each said instruction element providing a relation between zero or more source elements and zero or more result elements, where each said source element comprises one of a plurality of source elements and each said result element comprises one of a plurality of result elements, said module comprising:
a display module for providing a representation comprising a portion of said mapping relationships and including at least one of said plurality of source elements, said plurality of instruction elements, and said plurality of result elements; an input module for providing a method to select one of said elements in said representation; a highlighting module for highlighting said selected element in said representation; and a propagation module for propagating highlighting to other elements related by said mapping that are displayed in said representation.
- 9. The computer of claim 8, further comprising:
an input device for providing an input to cause an execution of a transformation process that defines said mapping relationships, said input causing said source elements to become an input into at least one of said instruction elements to produce at least one of said result elements.
- 10. The computer of claim 9, said module further comprising:
a mapping module for establishing a mapping file providing a correspondence between said plurality of source elements, said plurality of instruction elements, and said plurality of result elements, based upon said source elements having been processed by said plurality of instruction elements in said transformation process.
- 11. The computer of claim 10, wherein a method executed by said propagating highlighting comprises:
determining a propagation from said mapping file by determining which of said source elements, said instruction elements, and said result elements correspond to said selected element; and providing a highlighting of any of said corresponding elements currently visible on said representation, said representation being user-controlled.
- 12. The computer of claim 11, further comprising:
an input device for providing a user an input command to request said propagation determination to occur.
- 13. The computer of claim 11, wherein said plurality of instruction elements comprises an XSLT (eXtensible Style Language Transformations) stylesheet, said plurality of source elements comprises XML (eXtensible Markup Language) source elements, and said plurality of results elements comprises XML result elements.
- 14. The computer of claim 11, wherein said highlighting comprises at least two levels of highlighting such that a primary highlighting level indicates which elements are directly related to said selected element and a secondary highlighting level indicates which elements, if any, are less directly related to said selected element.
- 15. A signal-bearing medium tangibly embodying a program of machine-readable instructions executable by a digital processing apparatus to perform a method of displaying mapping relationships defined by a plurality of instruction elements, each said instruction element providing a relation between zero or more source elements and zero or more result elements, where each said source element comprises one of a plurality of source elements and each said result element comprises one of a plurality of result elements, said method comprising:
providing a representation comprising a portion of said mapping relationships and including at least one of said plurality of source elements, said plurality of instruction elements, and said plurality of result elements; selecting one of said elements in said representation; highlighting said selected element in said representation; and propagating highlighting to other elements related by said mapping that are displayed in said representation.
- 16. The signal-bearing medium of claim 15, said method further comprising:
providing an input to cause an execution of a transformation process that defines said mapping relationships, said input causing said source elements to become an input into at least one of said instruction elements to produce at least one of said result elements.
- 17. The signal-bearing medium of claim 16, said method further comprising:
establishing a mapping file providing a correspondence between said plurality of source elements, said plurality of instruction elements, and said plurality of result elements, based upon said source elements having been processed by said plurality of instruction elements in said transformation process.
- 18. The signal-bearing medium of claim 17, wherein said propagating highlighting comprises:
determining a propagation from said mapping file by determining which of said source elements, said instruction elements, and said result elements correspond to said selected element; and providing a highlighting of any of said corresponding elements currently visible on said representation, said representation being user-controlled.
- 19. The signal-bearing medium of claim 18, wherein said plurality of instruction elements comprises an XSLT (eXtensible Style Language Transformations) stylesheet, said plurality of source elements comprises XML (eXtensible Markup Language) source elements, and said plurality of results elements comprises XML result elements.
- 20. The signal-bearing medium of claim 18, wherein said highlighting comprises at least two levels of highlighting such that a primary highlighting level indicates which elements are directly related to said selected element and a secondary highlighting level indicates which elements, if any, are less directly related to said selected element.
CROSS REFERENCE OF RELATED APPLICATION
[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-CENTRIC EDITING”, having IBM Docket YOR920010685;
[0003] U.S. patent application Ser. No. ______, filed on ______, to Adler et al., entitled “METHOD AND SYSTEM FOR STYLESHEET RULE CREATION, COMBINATION, AND REMOVAL TECHNOLOGY”, having IBM Docket YOR920010609; and
[0004] U.S. patent application Ser. No. ______, filed on ______, to Adler et al., entitled “METHOD AND SYSTEM FOR COPY AND PASTE TECHNOLOGY FOR STYLESHEET EDITING”, having IBM Docket YOR920010631,
[0005] all assigned to the present assignee, and all incorporated herein by reference.