Automated creation of an XML dialect and dynamic generation of a corresponding DTD
First Claim
1. In a computing environment, computer readable code readable by a computer system in said environment, for enabling efficient automated transformation of an input document to account for dynamic factors, comprising:
- a subprocess for identifying an input document encoded in a well-formed notation, wherein said input document comprises (1) a plurality of elements conforming to a first Document Type Definition (DTD) and (2) a value for at least one of said elements;
a subprocess for programmatically determining current values for one or more factors, said factors representing dynamically-changeable information, wherein said factors are not represented by said plurality of elements in said input document;
a subprocess for programmatically generating, for each of said factors, an additional element representing said factor and programmatically including said current value of said factor as a value of said additional element;
a subprocess for programmatically inserting said additional elements and included values into said input document, thereby creating an output document which does not conform to said first DTD; and
a subprocess for programmatically generating a second DTD from said output document, such that said output document does conform to said second DTD.
0 Assignments
0 Petitions
Accused Products
Abstract
A method, system, and computer-readable code for translating an input document into an Extensible Markup Language (XML) dialect which is well-formed, such that automated, dynamically-selected transformations (such as those that will indicate a user'"'"'s current context) can be applied to the document. The new XML dialect indicates dynamically-selected document transformations that are desired. Further, a novel technique is provided for dynamically generating a Document Type Definition (DTD) to describe the new XML dialect, so that the XML document created in this dialect can subsequently be processed by an XML parser. In the preferred embodiment, the desired transformations account for a user'"'"'s dynamic context, and this information is represented by the dynamically-generated XML dialect.
-
Citations
21 Claims
-
1. In a computing environment, computer readable code readable by a computer system in said environment, for enabling efficient automated transformation of an input document to account for dynamic factors, comprising:
-
a subprocess for identifying an input document encoded in a well-formed notation, wherein said input document comprises (1) a plurality of elements conforming to a first Document Type Definition (DTD) and (2) a value for at least one of said elements;
a subprocess for programmatically determining current values for one or more factors, said factors representing dynamically-changeable information, wherein said factors are not represented by said plurality of elements in said input document;
a subprocess for programmatically generating, for each of said factors, an additional element representing said factor and programmatically including said current value of said factor as a value of said additional element;
a subprocess for programmatically inserting said additional elements and included values into said input document, thereby creating an output document which does not conform to said first DTD; and
a subprocess for programmatically generating a second DTD from said output document, such that said output document does conform to said second DTD. - View Dependent Claims (2, 3, 4, 5, 6, 7)
a subprocess for programmatically creating element declarations for each detected element in said output document;
a subprocess for programmatically creating attribute declarations for each detected attribute in said output document; and
a subprocess for programmatically compacting said second DTD.
-
-
7. Computer readable code for enabling efficient automated transformation of an input document according to claim 6, wherein said subprocess for programmatically compacting said second DTD further comprises one or more of:
-
a subprocess for generating entity declarations to reduce a size of said output document or a size of said second DTD;
a subprocess for generating parameter declarations to reduce said size of said second DTD; and
a subprocess for generating attribute defaults for said attribute declarations.
-
-
8. A system for enabling efficient automated transformation of an input document to account for dynamic factors in a computing environment, comprising:
-
means for identifying an input document encoded in a well-formed notation, wherein said input document comprises (1) a plurality of elements conforming to a first Document Type Definition (DTD) and (2) a value for at least one of said elements;
means for programmatically determining current values for one or more factors, said factors representing dynamically-changeable information, wherein said factors are not represented by said plurality of elements in said input document;
means for programmatically generating, for each of said factors, an additional element representing said factor and programmatically including said current value of said factor as a value of said additional element;
means for programmatically inserting said additional elements and included values into said input document, thereby creating an output document which does not conform to said first DTD; and
means for programmatically generating a second DTD from said output document, such that said output document does conform to said second DTD. - View Dependent Claims (9, 10, 11, 12, 13, 14)
means for programmatically creating element declarations for each detected element in said output document;
means for programmatically creating attribute declarations for each detected attribute in said output document; and
means for programmatically compacting said second DTD.
-
-
14. The system for enabling efficient automated transformation of an input document according to claim 13, wherein said means for programmatically compacting said second DTD further comprises one or more of:
-
means for generating entity declarations to reduce a size of said output document or a size of said second DTD;
means for generating parameter declarations to reduce said size of said second DTD; and
means for generating attribute defaults for said attribute declarations.
-
-
15. A method for enabling efficient automated transformation of an input document to account for dynamic factors in a computing environment, comprising the steps of:
-
identifying an input document encoded in a well-formed notation, wherein said input document comprises (1) a plurality of elements conforming to a first Document Type Definition (DTD) and (2) a value for at least one of said elements;
means for programmatically determining current values for one or more factors, said factors representing dynamically-changeable information, wherein said factors are not represented by said plurality of elements in said input document;
means for programmatically generating, for each of said factors, an additional element representing said factor and programmatically including said current value of said factor as a value of said additional element;
means for programmatically inserting said additional elements and included values into said input document, thereby creating an output document which does not conform to said first DTD; and
programmatically generating a second DTD from said output document, such that said output document does conform to said second DTD. - View Dependent Claims (16, 17, 18, 19, 20, 21)
programmatically creating element declarations for each detected element in said output document;
programmatically creating attribute declarations for each detected attribute in said output document; and
programmatically compacting said second DTD.
-
-
21. The method for enabling efficient automated transformation of an input document according to claim 20, wherein said subprocess for programmatically compacting said second DTD further comprises steps of one or more of:
-
generating entity declarations to reduce a size of said output document or a size of said second DTD;
generating parameter declarations to reduce said size of said second DTD; and
generating attribute defaults for said attribute declarations.
-
Specification