Markup language stylization
First Claim
Patent Images
1. A method comprising:
- receiving a request for a markup language source document;
identifying a manifest document associated with the requested markup language source document;
determining to select, from a plurality of overlay documents, at least one overlay document that fulfills an attribute condition specified in the manifest document, wherein the markup language source document specifies one or more overlay document versions with which the markup language source file is compatible, wherein when the markup language source document comprises a section of markup language that specifies that the section is designated as immutable to prevent modification via the at least one overlay document, a directive of immutability is selected from a group comprising;
prevention, of a specified attribute of the section, from modification by the at least one overlay document;
prevention, of specified content of the section, from modification by the at least one overlay document; and
prevention, of a specified structure of the section, from modification by the at least one overlay document;
in an event no overlay document is selected, in response to the request, returning the markup language source document; and
in an event at least one overlay document is selected;
providing an interface for the at least one overlay document to modify the presentation of the markup language source document, wherein when an associated version of the at least one overlay document is not compatible with the markup language source document, the interface utilizes an associated document to upgrade the at least one overlay document to another version, wherein no special tags or other types of markers are required in the markup language source document to enable modification of the presentation of the markup language source document as specified by the at least one overlay document, the interface having a plurality of functions for modifying the presentation of the markup language source document, the functions comprising;
modifying element content;
modifying element attributes;
removing elements;
adding elements;
rearranging elements; and
stylization of elements;
generating a modified markup language source document by applying the at least one overlay document to the requested markup language source document; and
in response to the request, returning the modified markup language source document.
2 Assignments
0 Petitions
Accused Products
Abstract
Markup language stylizations that may be applied to a source document are defined in overlay documents such that no special tags or markers are required in the source document to enable stylization via the overlay document. A manifest document defines an association between a source document and one or more overlay documents.
16 Citations
21 Claims
-
1. A method comprising:
-
receiving a request for a markup language source document; identifying a manifest document associated with the requested markup language source document; determining to select, from a plurality of overlay documents, at least one overlay document that fulfills an attribute condition specified in the manifest document, wherein the markup language source document specifies one or more overlay document versions with which the markup language source file is compatible, wherein when the markup language source document comprises a section of markup language that specifies that the section is designated as immutable to prevent modification via the at least one overlay document, a directive of immutability is selected from a group comprising; prevention, of a specified attribute of the section, from modification by the at least one overlay document; prevention, of specified content of the section, from modification by the at least one overlay document; and prevention, of a specified structure of the section, from modification by the at least one overlay document; in an event no overlay document is selected, in response to the request, returning the markup language source document; and in an event at least one overlay document is selected; providing an interface for the at least one overlay document to modify the presentation of the markup language source document, wherein when an associated version of the at least one overlay document is not compatible with the markup language source document, the interface utilizes an associated document to upgrade the at least one overlay document to another version, wherein no special tags or other types of markers are required in the markup language source document to enable modification of the presentation of the markup language source document as specified by the at least one overlay document, the interface having a plurality of functions for modifying the presentation of the markup language source document, the functions comprising; modifying element content; modifying element attributes; removing elements; adding elements; rearranging elements; and stylization of elements; generating a modified markup language source document by applying the at least one overlay document to the requested markup language source document; and in response to the request, returning the modified markup language source document. - View Dependent Claims (2, 3, 4, 5, 19)
-
-
6. A system comprising:
-
one or more processors; one or more memories; computer executable instructions stored on the one or more memories and executable by the one or more processors, the computer executable instructions comprising; a source document having hypertext markup language (HTML) content; an overlay document having extensible hypertext markup language (XHTML) content that specifies changes to be made to an HTML document, wherein the source document specifies an overlay document version with which the source document is compatible, wherein no special tags or other types of markers are required in the source document to enable the changes to be made as specified by the overlay document, wherein when the source document comprises a section of HTML content that specifies that the section is designated as immutable, modification of the section via the overlay document is prevented, the section designated as immutable selected from a group consisting of; attributes of an HTML element of the source document; content of an HTML element of the source document; and structure of an HTML element of the source document; a manifest document that defines a relationship between the source document and the overlay document such that the overlay document is usable for modifying the source document when an attribute condition in the manifest document related to the source document is fulfilled; a document used to upgrade the overlay document from one version to another version; and an interface to utilize the overlay document to modify the presentation of the source document when an associated version of the overlay document is compatible with the source document. - View Dependent Claims (7, 8, 9, 10, 11, 12, 20)
-
-
13. One or more computer storage media encoded with computer-executable instructions that, when executed, direct a computing system to perform acts comprising:
-
identifying an overlay document to be applied to a source document, wherein the source document specifies one or more overlay versions with which the source file is compatible, wherein when an associated version of the overlay document is not compatible with the source document, an associated document is utilized to upgrade the overlay document to another version, wherein no special tags or other types of markers are required in the source document to enable application of the overlay document, wherein when the source document comprises a section of content that specifies that the section is designated as immutable, modification of the section via the overlay document is prevented, the section designated as immutable selected from a group consisting of; attributes of an element of the source document; content of an element of the source document; and structure of an element of the source document; generating a landmark hierarchy based on landmark definitions included in the overlay document, where each landmark of the landmark hierarchy represents one of either a deterministic or a relative reference to a location of one or more elements that are present in the source document, wherein the one or more elements each have attributes corresponding to a definition of each landmark in the overlay document; stepping through elements in the source document to identify an element in the source document that corresponds to a first landmark in the landmark hierarchy; identifying an overlay directive associated with the first landmark, an overlay directive being chosen from a plurality of directives; and generating a modified element by applying the identified overlay directive to the element in the source document that corresponds to the first landmark in the landmark hierarchy. - View Dependent Claims (14, 15, 16, 17, 18, 21)
-
Specification