|
| dtstyle_to_xmp.styletree = ET.parse(argv[1]) or die("This doesn't work for me") |
|
| dtstyle_to_xmp.styleroot = styletree.getroot() |
|
| dtstyle_to_xmp.xmpmeta |
|
| dtstyle_to_xmp.rdf = ET.SubElement(xmpmeta,"rdf:RDF",{"xmlns:rdf":"http://www.w3.org/1999/02/22-rdf-syntax-ns#"}) |
|
| dtstyle_to_xmp.description |
|
| dtstyle_to_xmp.maskid = ET.SubElement(description,"darktable:mask_id") |
|
| dtstyle_to_xmp.masktype = ET.SubElement(description,"darktable:mask_type") |
|
| dtstyle_to_xmp.maskname = ET.SubElement(description,"darktable:mask_name") |
|
| dtstyle_to_xmp.maskversion = ET.SubElement(description,"darktable:mask_version") |
|
| dtstyle_to_xmp.mask = ET.SubElement(description,"darktable:mask") |
|
| dtstyle_to_xmp.masknb = ET.SubElement(description,"darktable:mask_nb") |
|
| dtstyle_to_xmp.masksrc = ET.SubElement(description,"darktable:mask_src") |
|
| dtstyle_to_xmp.darktablehistory = ET.SubElement(description,"darktable:history") |
|
| dtstyle_to_xmp.darktablehistoryid = ET.SubElement(darktablehistory,"rdf:Seq") |
|
| dtstyle_to_xmp.enabled = plugins.find('enabled') |
|
| dtstyle_to_xmp.li = ET.SubElement(darktablehistoryid,"rdf:li") |
|
| dtstyle_to_xmp.modversion = plugins.find('module') |
|
| dtstyle_to_xmp.operation = plugins.find('operation') |
|
| dtstyle_to_xmp.params = plugins.find('op_params') |
|
| dtstyle_to_xmp.blendop_params = plugins.find('blendop_params') |
|
| dtstyle_to_xmp.blendop_version = plugins.find('blendop_version') |
|
| dtstyle_to_xmp.multi_name = plugins.find('multi_name') |
|
| dtstyle_to_xmp.multi_priority = plugins.find('multi_priority') |
|