Patent ID: 7107521

Claim:
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.