Author Topic: How to Extract all commands in a CUI file?  (Read 179 times)

0 Members and 1 Guest are viewing this topic.

HasanCAD

  • Swamp Rat
  • Posts: 1198
How to Extract all commands in a CUI file?
« on: January 11, 2017, 03:37:21 am »
is there a way to Extract commands used in a CUI file?
Or export data as excel sheet?

Thanks

« Last Edit: January 11, 2017, 08:20:14 am by HasanCAD »

dgorsman

  • Water Moccasin
  • Posts: 2227
Re: How to Extract all commands in a CUI file?
« Reply #1 on: January 11, 2017, 10:13:19 am »
CUIx is ZIP-compressed XML (plus a few other items).  I suspect CUI is simply uncompressed XML.  Either way, once you have the XML you can apply an XSLT transform to get the contents you want, in an acceptable format.  You could also use XPath to parse out the contents programmatically.
If you are going to fly by the seat of your pants, expect friction burns.

try {GreatPower;}
   catch (notResponsible)
      {NextTime(PlanAhead);}
   finally
      {MasterBasics;}