XSL dynamic inheritance
First Claim
1. A method for dynamically generating rules for extended stylesheet language (XSL) transformations, wherein an extensible markup language (XML) document object model (DOM) represents an XML document, and an XML/XSL DOM represents an XSL file, said XML/XSL DOM comprising one or more nodes that contain an XSL rule describing how XML data should be transformed, wherein at least one of said nodes contains an imported default XSL rule describing how XML data should be transformed with an imported variable, the method comprising:
- receiving a user generated property having a form of a key-value pair;
transforming the user generated property to an XML/XSL node, the XML/XSL node containing a dynamically generated XSL rule of XML data transformation with a dynamic variable based on said user generated property having the form of the key-value pair;
modifying the XML/XSL DOM by attaching the XML/XSL node containing said dynamically generated XSL rule with the dynamic variable based on said user generated property to said XML/XSL DOM, wherein the XML/XSL node containing said dynamically generated XSL rule with the dynamic variable based on said user generated property has a higher priority than any node of the XML/XSL DOM that contains the imported default XSL rule with the imported variable for that property; and
applying said modified XML/XSL DOM to said XML DOM to produce an XSL formatted object.
2 Assignments
0 Petitions
Accused Products
Abstract
A system, method, and a computer program product for dynamically generating rules for XSL transformations by operating on an XML/XSL DOM representing a tree structure of an XML document in memory. User generated properties are received and transformed into XML/XSL nodes in memory. XML/XSL DOM is modified with the transformed XML/XSL nodes containing XSL rules of transformation with a variable dynamically generated by the user. The modified XML/XSL DOM is processed to generate a document in a specified format. Newly generated dynamic XSL rules override imported rules in the XML/XSL DOM.
89 Citations
41 Claims
-
1. A method for dynamically generating rules for extended stylesheet language (XSL) transformations, wherein an extensible markup language (XML) document object model (DOM) represents an XML document, and an XML/XSL DOM represents an XSL file, said XML/XSL DOM comprising one or more nodes that contain an XSL rule describing how XML data should be transformed, wherein at least one of said nodes contains an imported default XSL rule describing how XML data should be transformed with an imported variable, the method comprising:
-
receiving a user generated property having a form of a key-value pair; transforming the user generated property to an XML/XSL node, the XML/XSL node containing a dynamically generated XSL rule of XML data transformation with a dynamic variable based on said user generated property having the form of the key-value pair; modifying the XML/XSL DOM by attaching the XML/XSL node containing said dynamically generated XSL rule with the dynamic variable based on said user generated property to said XML/XSL DOM, wherein the XML/XSL node containing said dynamically generated XSL rule with the dynamic variable based on said user generated property has a higher priority than any node of the XML/XSL DOM that contains the imported default XSL rule with the imported variable for that property; and applying said modified XML/XSL DOM to said XML DOM to produce an XSL formatted object. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19)
-
-
20. A system for dynamically generating rules for extended stylesheet language (XSL) transformations, wherein an extensible markup language (XML) document object model (DOM) represents an XML document, and an XML/XSL DOM represents an XSL file, said XML/XSL DOM comprising one or more nodes that contain an XSL rule describing how XML data should be transformed, wherein at least one of said nodes contains an imported default XSL rule describing how XML data should be transformed with an imported variable, the system comprising:
-
a module for receiving a user generated property having a form of a key-value pair; a module for transforming the user generated property to an XML/XSL node, the XML/XSL node containing a dynamically generated XSL rule of XML data transformation with a dynamic variable based on said user generated property having the form of said key-value pair; a module for modifying the XML/XSL DOM by attaching the XML/XSL node containing said dynamically generated XSL rule with the dynamic variable based on said user generated property to said XML/XSL DOM, wherein the XML/XSL node containing said dynamically generated XSL rule with the dynamic variable based on said user generated property has a higher priority than any node of the XML/XSL DOM that contains the imported default XSL rule with the imported variable for that property; and a module for applying said modified XML/XSL DOM to said XML DOM to produce an XSL formatted object. - View Dependent Claims (21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35)
-
-
36. A computer program product for dynamically generating rules for extended stylesheet language (XSL) transformations, wherein an extensible markup language (XML) document object model (DOM) represents an XML document, and an XML/XSL DOM represents an XSL file, said XML/XSL DOM comprising one or more nodes that contain an XSL rule describing how XML data should be transformed, wherein at least one of said nodes contains an imported default XSL rule describing how XML data should be transformed with an imported variable, the computer program product comprising:
-
a computer readable medium; a module stored on the medium for receiving a user generated property having a form of a key-value pair; a module stored on the medium for transforming the user generated property to an XML/XSL node, the XML/XSL node containing a dynamically generated XSL rule of XML data transformation with a dynamic variable based on said user generated property having the form of said key-value pair; a module stored on the medium for modifying the XML/XSL DOM by attaching the XML/XSL node containing said dynamically generated XSL rule with the dynamic variable based on said user generated property to said XML/XSL DOM, wherein the XML/XSL node containing said dynamically generated XSL rule with the dynamic variable has a higher priority than any node of the XML/XSL DOM that contains the imported default XSL rule with the imported variable for that property; and a module stored on the medium for applying said modified XML/XSL DOM to said XML DOM to produce an XSL formatted object. - View Dependent Claims (37)
-
-
38. A method for dynamically generating rules for stylesheet language (SL) transformations, wherein a markup language (ML) document object model (DOM) represents a ML document, and a ML/SL DOM represents a SL file, said ML/SL DOM comprising one or more nodes that contain an SL rule describing how ML data should be transformed, wherein at least one of said nodes contains an imported default SL rule describing how ML data should be transformed with an imported variable the method comprising:
-
receiving a user generated property having a form of a key-value pair; transforming the user generated property to a ML/SL node, the ML/SL node containing a dynamically generated SL rule of ML data transformation with a dynamic variable based on said user generated property having the form of said key-value pair; modifying the ML/SL DOM by attaching the ML/SL node containing said dynamically generated SL rule of ML data transformation with the dynamic variable based on said user generated property to said ML/SL DOM, wherein the ML/SL node containing said dynamically generated SL rule of data transformation with the dynamic variable based on said user generated property has a higher priority than any node of the ML/SL DOM that contains the imported default SL rule describing how ML data should be transformed with the imported variable for that property; applying said modified ML/SL DOM to said ML DOM to produce an SL formatted object.
-
-
39. A computer program product for dynamically generating rules for stylesheet language (SL) transformations, wherein a markup language (ML)/SL document object model (DOM) represents an SL file, said ML/SL DOM comprising one or more nodes that contain an SL rule describing how ML data should be transformed, wherein at least one of said nodes contains an imported default SL rule describing how ML data should be transformed with an imported variable, and an ML DOM represents a ML document, the product comprising:
-
a computer readable medium; a module stored on the medium for receiving a user generated property having a form of a key-value pair; a module stored on the medium for transforming the user generated property to a ML/SL node, the ML/SL node containing a dynamically generated SL rule of ML data transformation with a dynamic variable based on said user generated property having the form of the key-value pair; a module stored on the medium for modifying the ML/SL DOM by attaching the ML/SL node containing said dynamically generated SL rule with the dynamic variable based on said user generated property to said ML/SL DOM, wherein the ML/SL node containing said dynamically generated XL rule with the dynamic variable based on said user generated property has a higher priority than any node of the ML/SL DOM that contains the imported default SL rule with the imported variable for that property; and a module stored on the computer readable medium for applying said modified ML/SL DOM to said ML DOM to produce an XL formatted object. - View Dependent Claims (40, 41)
-
Specification