7 def make_attribute_set(the_name, the_dict):
8 sys.stdout.write('<xsl:attribute-set name="%s">\n' % (the_name))
9 the_keys = the_dict.keys()
11 for the_key in the_keys:
12 sys.stdout.write(' <xsl:attribute name="%s">' % (the_key))
13 sys.stdout.write(the_dict[the_key])
14 sys.stdout.write('</xsl:attribute>\n')
15 sys.stdout.write('</xsl:attribute-set>\n\n')
18 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
19 xmlns:fo="http://www.w3.org/1999/XSL/Format"
22 <xsl:import href="%s"/>