Hi, i need to get Values out of an XML. The xml is too big for trying so i made an small XML.
I use the bakery package.
I try to get the value of “from”, “heading” and “body”. I tryed a lot of different xpath, but it didn’t work.
Is there a better way to get to my goal? Any help would be good.
If this is a clash results XML file from Navisworks- I struggled with using Dynamo to do this (although it is probably possible)
The Dynaworks package is also an option
I ended up using a (free) tool called Pentaho Data Integration which transforms the XML into a nice, tidy database
I then used Dynamo to create sphere markers for each clash in Revit, with properties from the XML as parameters for each clash sphere. Although it take several steps, it is fast & reliable.
Yes i tried the Lunchbox package. It worked fine for one node. But i need to get all nodes from the same typ in one specific node and that is in my opinion not possible with Lunchbox nodes. Or is this possible?!
Warning: IronPythonEvaluator.EvaluateIronPythonScript operation failed.
Traceback (most recent call last):
File “”, line 14, in
File “C:\Program Files (x86)\IronPython 2.7\Lib\xml\etree\ElementTree.py”, line 1285, in XML
File “C:\Program Files (x86)\IronPython 2.7\Lib\xml\etree\SimpleXMLTreeBuilder.py”, line 84, in feed
File “C:\Program Files (x86)\IronPython 2.7\Lib\xmllib.py”, line 167, in feed
File “C:\Program Files (x86)\IronPython 2.7\Lib\xmllib.py”, line 283, in goahead
File “C:\Program Files (x86)\IronPython 2.7\Lib\xmllib.py”, line 693, in parse_endtag
File “C:\Program Files (x86)\IronPython 2.7\Lib\xmllib.py”, line 722, in finish_endtag
File “C:\Program Files (x86)\IronPython 2.7\Lib\xmllib.py”, line 790, in syntax_error
xmllib.Error: Syntax error at line 156: missing close tag for meta
Hi @Nikolay_Gerasimov1, i am having a similar error to what you have. did you solve it?
"
Warning: IronPythonEvaluator.EvaluateIronPythonScript operation failed.
Traceback (most recent call last):
File “C:\Program Files (x86)\IronPython 2.7\Lib\xml\etree\SimpleXMLTreeBuilder.py”, line 84, in feed
File “C:\Program Files (x86)\IronPython 2.7\Lib\xmllib.py”, line 167, in feed
File “C:\Program Files (x86)\IronPython 2.7\Lib\xmllib.py”, line 258, in goahead
File “”, line 24, in
File “C:\Program Files (x86)\IronPython 2.7\Lib\xml\etree\ElementTree.py”, line 1177, in parse
File “C:\Program Files (x86)\IronPython 2.7\Lib\xml\etree\ElementTree.py”, line 653, in parse
File “C:\Program Files (x86)\IronPython 2.7\Lib\xmllib.py”, line 790, in syntax_error
xmllib.Error: Syntax error at line 1: illegal data at start of file
"