Changeset 748
- Timestamp:
- 03/17/11 05:11:03 (2 years ago)
- Location:
- WikiFiles/MgetTree
- Files:
-
- 3 modified
-
MgetToolbox_XmlToJsTree.py (modified) (2 diffs)
-
MgetToolbox_jsTree.xml (modified) (3 diffs)
-
MgetToolbox_simple.xml (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
WikiFiles/MgetTree/MgetToolbox_XmlToJsTree.py
r746 r748 11 11 tls = root.findall('.//toolset') 12 12 scr = root.findall('.//script') 13 all = [root]; all.extend(tls); all.extend(scr)13 all = tbx; all.extend(tls); all.extend(scr) 14 14 15 15 # set names … … 32 32 33 33 dump(tree) 34 tree.write(xml_out )34 tree.write(xml_out, encoding='UTF-8') 35 35 ##<Element 'html' at 0xb77e6fac> 36 36 ##>>> p = tree.find("body/p") # Finds first occurrence of tag p in body -
WikiFiles/MgetTree/MgetToolbox_jsTree.xml
r746 r748 1 <toolbox id="Marine Geospatial Ecology Tools 0.8a24"> 2 <toolset id="Connectivity Analysis" state="open"> 1 <?xml version='1.0' encoding='UTF-8'?> 2 <root> 3 <toolbox id="Marine Geospatial Ecology Tools 0.8a24"> 4 <toolset id="Connectivity Analysis"> 3 5 <toolset id="Coral Reef Larval Connectivity"> 4 6 <script id="Create Coral Reef Connectivity Simulation From ArcGIS Rasters" url="CoralReefConnectivity.CreateSimulationFromArcGISRasters.html"><content><name>Create Coral Reef Connectivity Simulation From ArcGIS Rasters</name></content></script> … … 8 10 <content><name>Coral Reef Larval Connectivity</name></content></toolset> 9 11 <content><name>Connectivity Analysis</name></content></toolset> 10 <toolset id="Conversion" state="open">12 <toolset id="Conversion"> 11 13 <toolset id="To ArcGIS Raster"> 12 14 <toolset id="From ArcInfo ASCII Grid"> … … 22 24 <content><name>To ArcGIS Raster</name></content></toolset> 23 25 <content><name>Conversion</name></content></toolset> 24 <content><name>Marine Geospatial Ecology Tools 0.8a24</name></content></toolbox> 26 <content><name>Marine Geospatial Ecology Tools 0.8a24</name></content></toolbox> 27 </root> -
WikiFiles/MgetTree/MgetToolbox_simple.xml
r746 r748 1 <toolbox id='Marine Geospatial Ecology Tools 0.8a24'> 1 <root> 2 <toolbox id='Marine Geospatial Ecology Tools 0.8a24'> 2 3 <toolset id='Connectivity Analysis'> 3 4 <toolset id='Coral Reef Larval Connectivity'> … … 22 23 </toolset> 23 24 </toolset> 24 </toolbox> 25 </toolbox> 26 </root> 27 25 28
