11. The method of claim 10 , wherein the inherited attribute for the child type and the synthesized attribute for the parent type are computed according to a type of the production.
11. The method of claim 10 , wherein the inherited attribute for the child type and the synthesized attribute for the parent type are computed according to a type of the production. 12. The method of claim 11 , wherein, when the production is p=A→PCDATA, the second rule is defined as 
 Syn ( A )={ Q ( Inh ( A ))/value( )}, where: Inh (A) is the inherited attribute for the parent type A, Syn (A) is the synthesized attribute for the parent type A, and Q is an XQ e query that returns PCDATA and uses Inh (A) as a constant.