Hi Lars,
In general, only xsl:import statements need to appear at the beginning, and everything else can be in any order.
In this case, you need to create the two new attribute-sets in your customization file, as mentioned in step 4 of the procedure you referenced. 8^)
Bob Stayton
Sagehill Enterprises
bobs@sagehill.net