[Home] [By Thread] [By Date] [Recent Entries]
>The factory gets access to the new element's name and the current element stack including attributes. This is somewhat richer than XML Schema, which requires that the [type] of an element be determinable using the new element's name and the names of the elements in the current stack. Actually that describes rather precisely what XSD 1.1 allows. Giving access to the attributes of ancestor elements is a bit questionable because it means the validity/type of an element depends on the element's context and not only on its content. It got into XSD 1.1 because of the xml:lang use case and the influence of the I18N police. Michael Kay Saxonica
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] |

Cart



