1461098719-9ef0a196-0dc7-416d-b4b8-5224a8057259

1. A foam pump comprising:
(a) an atomizing pump assembly in fluid communication with a container holding a foamable liquid, said pump assembly including:
an inlet portion fluidly communicating with the foamable liquid through an inlet valve, said inlet valve preventing the liquid from flowing back into the container,
an atomizing piston slidably positioned within said inlet portion and having an open end received in said inlet portion and an opposite end external of said inlet portion,
a one-way atomizing nozzle at said opposite end of said atomizing piston, said inlet portion and said atomizing piston defining a sealed liquid chamber between said inlet valve and said atomizing nozzle, wherein said atomizing nozzle creates a mist of the foamable liquid as the foamable liquid passes from said liquid chamber; and
a first spring positioned within said inlet portion acting to bias said atomizing pump assembly to an uncompressed position, and

(b) a compression chamber assembly including a compression chamber housing in fluid communication with said liquid chamber and separated from said liquid chamber by said atomizing nozzle, said atomizing nozzle prohibiting air in said compression chamber assembly from entering said liquid chamber, said compression chamber housing having an opening opposite said atomizing nozzle and a nozzle assembly slidably positioned within said opening, said nozzle assembly and said compression chamber housing defining a compression chamber and said nozzle assembly including:
a wiper seal in contact with an inner wall of said compression chamber,
an outlet nozzle,
a screen positioned in said nozzle, and
a second spring acting to bias said compression chamber assembly in an uncompressed position,

wherein, said first spring has a spring constant value less than said second spring.
2. The foam pump according to claim 1, further comprising a sponge disposed within said compression chamber.
3. A foam pump comprising:
(a) a collapsible compression chamber in which a liquid mist and air are mixed and used to form a foam, the collapsible compression chamber including a first housing portion and a second housing portion, wherein the collapsible compression chamber has a first volume when the first housing is in a first position with respect to the second housing and a second volume when the first housing is in a second position with respect to the second housing; the collapsible compression chamber having a first end and a second end;
(b) a one-way atomizing nozzle positioned adjacent to the first end of the collapsible compression chamber and prohibiting air from escaping the collapsible compression chamber through the atomizing nozzle when the collapsible compression chamber is collapsed, the atomizing nozzle having an orifice that is capable of restricting flow into the collapsible compression chamber and applying a shearing force to liquid passing therethrough to create the liquid mist; and
(c) a nozzle assembly positioned adjacent to the second end of the collapsible compression chamber, the nozzle assembly being configured to dispense the foam formed from the liquid mist created by the atomizing nozzle and the air in the collapsible compression chamber.
4. The foam pump of claim 3, wherein the nozzle assembly forms part of the collapsible compression chamber and is slidably positioned within the second end such as to increase and decrease the volume of the collapsible compression chamber.
5. The foam pump of claim 3, further comprising a liquid chamber in fluid communication with the collapsible compression chamber, the atomizing nozzle being positioned between the liquid chamber and the collapsible compression chamber to seal the liquid chamber.
6. The foam pump of claim 5, wherein the liquid chamber is collapsible.
7. The foam pump of claim 5, wherein the liquid chamber is in fluid communication with a fluid reservoir.
8. The foam pump of claim 6, wherein the collapsible liquid chamber is biased in an un-collapsed position by a first spring, and the collapsible compression chamber is biased in an un-collapsed position by a second spring.
9. A foam pump comprising:
a collapsible compression chamber in which a liquid mist and air are mixed and used to form a foam, the collapsible compression chamber having a first end and a second end;
a one-way atomizing nozzle positioned adjacent to the first end of the collapsible compression chamber and prohibiting air from escaping the collapsible compression chamber through the atomizing nozzle, the atomizing nozzle having an orifice that is capable of restricting flow into the collapsible compression chamber and applying a shearing force to liquid passing therethrough to create the liquid mist;
a nozzle assembly positioned adjacent to the second end of the collapsible compression chamber, the nozzle assembly being configured to dispense the foam formed from the liquid mist created by the atomizing nozzle and the air in the collapsible compression chamber;
a liquid chamber in fluid communication with the collapsible compression chamber, the atomizing nozzle being positioned between the liquid chamber and the collapsible compression chamber to seal the liquid chamber;
wherein the liquid chamber is collapsible;
wherein the collapsible liquid chamber is biased in an un-collapsed position by a first spring, and the collapsible compression chamber is biased in an un-collapsed position by a second spring; and
wherein the first spring has a spring constant that is less than a spring constant of the second spring.
10. The foam pump of claim 5, wherein the liquid chamber is defined by a tube and an atomizing piston slidably positioned within the tube, the atomizing piston having a passage therethrough that is in fluid communication with the atomizing nozzle.
11. The foam pump of claim 3, wherein the nozzle assembly includes at least one screen therein.
12. The foam pump of claim 3, wherein the nozzle assembly includes a sponge disposed therein.
13. A method of generating foam from a liquid comprising the steps of:
mixing the liquid with air by forcing the liquid from a sealed liquid chamber through an atomizing nozzle having a reduced diameter to create a mist in an adjacent air filled collapsible compression chamber; and
collapsing the compression chamber that includes a first housing portion and a second housing portion by moving the first housing with respect to the second housing to cause the mixture to be expelled through a nozzle wherein the atomizing nozzle prevents liquid or air from passing back through the atomizing nozzle when the collapsible compression chamber is collapsed.
14. The method of claim 13, wherein the step of forcing the liquid through an atomizing nozzle includes collapsing the liquid chamber that is in fluid communication with the atomizing nozzle.
15. The method of claim 13, wherein the step of collapsing the compression chamber includes moving an actuation mechanism.
16. The method of claim 13, wherein the mist and air mixture is forced through a mesh screen before being expelled from said nozzle.
17. The foam pump of claim 1, wherein the movement of the atomizing piston within the inlet portion reduces the volume of the liquid chamber to force the foamable liquid through the atomizing nozzle.
18. The foam pump of claim 3 further comprising a liquid chamber, wherein the liquid chamber is configured to force pressurized liquid through the orifice of the atomizing nozzle to create the mist.
19. The method of claim 13, wherein the atomizing nozzle is configured to prohibit the air in the compression chamber from entering the liquid chamber.
20. A foam pump for a liquid container, comprising:
a first chamber movable between a compressed position and an uncompressed position, the first chamber having an inlet valve and an atomizing nozzle, the inlet valve and the atomizing nozzle configured to seal the first chamber when the first chamber is non-moving; and
a second chamber in fluid communication with the first chamber, second chamber including a first housing portion and a second housing portion, wherein the second chamber has a first volume when the first housing is in a first position with respect to the second housing and a second volume when the first housing is in a second position with respect to the second housing; the second chamber configured to dispense a foam, and wherein the atomizing nozzle prohibits air in the second chamber from entering the first chamber when the second chamber is compressed;
wherein:
the movement of the first chamber from the compressed position to the uncompressed position draws liquid from the liquid container, through the inlet valve, and into the first chamber;
the movement of the first chamber from the uncompressed position to the compressed position forces the liquid within the first chamber through the atomizing nozzle and into the second chamber; and
the passage of the liquid through the atomizing nozzle forms a mist of liquid in the second chamber, the mist of liquid mixing with air in the second chamber, the mixture of the mist of liquid and air used to form the foam dispensed by the second chamber when the second chamber is compressed.

The claims below are in addition to those above.
All refrences to claim(s) which appear below refer to the numbering after this setence.

1. A method comprising performing a machine-executed operation involving instructions, wherein the machine-executed operation is at least one of:
A) sending said instructions over transmission media;
B) receiving said instructions over transmission media;
C) storing said instructions onto a machine-readable storage medium; and
D) executing the instructions;
wherein said instructions are instructions which, when executed by one or more processors, cause the one or more processors to perform the steps of:
receiving a query for a set of matching XML documents, wherein the set of matching XML documents are XML documents that satisfy search criteria specified in said query; and
using an index to identify one or more XML documents that qualify as members of said set of matching XML documents, wherein said index stores
a first set of entries for element names, wherein the entry for a particular element name includes location information for the particular element name,
wherein the location information for the particular element name specifies (a) which XML documents, of a plurality of XML documents indexed by said index, contain elements with said particular element name, and (b) where, within each of said XML documents containing said elements with said particular element name, the elements with the particular element name are located;
a second set of entries for element attributes, wherein the entry for a particular element attribute includes location information for the particular element attribute,
wherein the location information for the particular element attribute specifies (a) which XML documents, of said plurality of XML documents indexed by said index, contain elements with said particular element attribute, and (b) where, within each of said XML documents containing said elements with said particular element attribute, the elements with the particular element attribute are located; and
a third set of entries for element values, wherein the entry for a particular element value includes location information for the particular element value,
wherein the location information for the particular element value specifies (a) which XML documents, of said plurality of XML documents indexed by said index, contain elements with said particular element value, and (b) where, within each of said XML documents containing said elements with said particular element value, the elements with the particular element value are located.
2. The method of claim 1, wherein:
said XML documents are stored within one or more tables in a database,
said one or more tables store said XML documents in a set of indexed rows and a set of non-indexed rows,
said set of indexed rows are indexed by said index, and
said set of non-indexed rows are not indexed by said index.
3. The method of claim 2, further comprising:
determining if any rows in said set of non-indexed rows correspond to said search criteria; and
determining membership of at least a subset of said set of matching XML documents based on those rows in said set of non-indexed rows that correspond to said search criteria.
4. The method of claim 1, wherein said step of using an index comprises:
determining if said query is compatible with said index.
5. The method of claim 4, wherein said step of using an index further comprises:
if said query is not compatible with said index, then modifying said query to produce a modified query for a second set of XML documents, wherein said modified query is compatible with said index; and
wherein said second set of XML documents is a superset of said set of matching XML documents.
6. The method of claim 4, wherein said step of using an index further comprises:
if said query is compatible with said index, then determining if using said index to obtain said set of matching XML documents is faster than not using said index to obtain said set of matching XML documents.
7. The method of claim 6, wherein said step of using an index further comprises:
if using said index to obtain said set of matching XML documents is faster than not using said index to obtain said set of matching XML documents, then determining membership of at least a subset of said set of matching XML documents using said index.
8. The method of claim 1, wherein said first set of entries includes for each element a document identification value, an offset value, a length value, and a depth value.
9. The method of claim 1, wherein said step of using an index comprises:
obtaining XML documents that may qualify as members of said set of matching XML documents using, at least in part, said index; and
examining each of said XML documents that may qualify as members of said set of matching XML documents to identify each member in said set of matching XML documents.
10. The method of claim 1, wherein each entry in the first set of entries indicates where, within a hierarchy of elements within each of said XML documents, any element having an element name associated with the entry is located.
11. The method of claim 1, wherein each entry in the second set of entries indicates where, within a hierarchy of elements within each of said XML documents, any element having an attribute name associated with the entry is located.
12. The method of claim 1, wherein each entry in the third set of entries indicates where, within a hierarchy of elements within each of said XML documents, any element having an element value associated with the entry is located.
13. The method of claim 1, wherein the first set of entries, the second set of entries, and the third set of entries are separate from each other.
14. The method of claim 1, wherein the location information for the particular element name specifies a length value and a depth value for each element identified.
15. A method comprising performing a machine-executed operation involving instructions, wherein the machine-executed operation is at least one of:
A) sending said instructions over transmission media;
B) receiving said instructions over transmission media;
C) storing said instructions onto a machine-readable storage medium; and
D) executing the instructions;
wherein said instructions are instructions which, when executed by one or more processors, cause the one or more processors to perform the steps of:
upon receiving a request to store a particular XML document, storing said particular XML document; and
updating an index to include a reference to said particular XML document, wherein said reference includes a first set of entries that each identify the location, within the hierarchy of elements of the particular XML document, of element names contained within the particular XML document, a second set of entries that each identify the location, within the hierarchy of elements of the particular XML document, of element attributes contained within the particular XML document, and a third set of entries that each identify the location, within the hierarchy of elements of the particular XML document, of element values contained within the particular XML document,
wherein the first set of entries specify (a) which XML documents, of a plurality of XML documents indexed by said index, contain elements with a particular element name, and (b) where, within each of said XML documents containing said elements with said particular element name, the elements with the particular element name are located,
wherein the second set of entries specify (a) which XML documents, of said plurality of XLML documents indexed by said index, contain elements with a particular element attribute, and (b) where, within each of said XML documents containing said elements with said particular element attribute, the elements with the particular element attribute are located, and
wherein the third set of entries specify (a) which XML documents, of said plurality of XML documents indexed by said index, contain elements with a particular element value, and (b) where, within each of said XML documents containing said elements with said particular element value, the elements with the particular element value are located.
16. The method of claim 15, wherein:
said particular XML document is stored within one or more tables in a database, and
said one or more tables store said particular XML document in a set of indexed rows,
wherein said indexed rows are indexed by said index.