sx:attribute
Brought to you by:
danielaparker
In the file servingxml-1.1.2/docs/guide/index.html#sx:attribute it claims that sx:attribute requires an attribute named "attribute", when in reality it is not true: the attribute is named "name". However, one cannot make sx:attribute happy, because there is a setName method but the "assemble" method looks for an attribute named "attribute".
This patch does two things: it brings the code in alignment with the documentation and updates the assemble function to use the correct name.
patch against 1.1.2