Trimble Business Center

 View Only
Expand all | Collapse all

Trimble JobXML Parser Python

  • 1.  Trimble JobXML Parser Python

    Posted 08-22-2024 07:21

    Hello,

    does anyone have python code for parsing JobXML Files? I began programming with the XSD Schema https://ww2.trimble.com/schema/JobXML/6_2/JobXMLSchema-6.27.xsd

    but if anyone already have something coded I would be very happy.

    Thanks

    Julian 



    ------------------------------
    Julian Weber
    ------------------------------


  • 2.  RE: Trimble JobXML Parser Python

    Posted 08-22-2024 14:46

    Are we talking about a standalone pure Python program or a TBC IronPython macro?

    I assume the first here. What exactly are you trying to achieve? Can't you just use something like https://stackoverflow.com/questions/16698935/how-to-transform-an-xml-file-using-xslt-in-python in combination with one of the predefined conversions stylesheets? https://help.trimblegeospatial.com/TrimbleAccess/latest/en/Downloads-stylesheets.htm



    ------------------------------
    Ronny Schneider
    ------------------------------



  • 3.  RE: Trimble JobXML Parser Python

    Posted 08-23-2024 01:50
    Hey Ronny,
     
    I want to do a Standalone program to edit the Data (TargetHeights, Offsets, etc.). So i really need to read the whole JXL.
     
    Thanks!


    ------------------------------
    Julian Weber
    ------------------------------