首页>
外国专利>
MINIMIZING THE COPYING OF AN EXTENSIBLE MARKUP LANGUAGE (XML) TREE WHEN REFERENCING TREE NODES DURING EXTENSIBLE STYLESHEET LANGUAGE TRANSFORMATIONS (XSLT) PROCESSING
MINIMIZING THE COPYING OF AN EXTENSIBLE MARKUP LANGUAGE (XML) TREE WHEN REFERENCING TREE NODES DURING EXTENSIBLE STYLESHEET LANGUAGE TRANSFORMATIONS (XSLT) PROCESSING
The invention includes a label tree action and a generate reference action function. The label tree action can execute a first time a copy of an XML tree is made (or when an XML tree is analyzed and determined not to contain id_attributes). The add id_attribute can add an id_attribute for each element of the XML tree that does not already have an associated id_attribute. This attribute can be set to a value returned by an XSLT generate-id( ) function. The generate reference action can deliver a string that will be used to refer to a given element. When an id_attribute for the given element is present within the XML tree, the generate reference action can return a value of the id_attribute. When no id_attribute is present for the given element, the generate reference action can return a value of the XSLT generate-id( ) function for the element.
展开▼