infor.com
concierge
infor u
developer portal
documentation central
customer center
Posts
Categories
Groups
ERPs
CSD
FSM/HRT
LN
M3
Syteline/ CSI
Hubs
Developer
Healthcare
Hospitality
Public Sector
Onboarding
Release Center
CloudSuites
Aerospace & Defense (LN)
Automotive (LN)
Chemicals (M3)
Corporate (FSM/HRT)
Distribution (Sx.e/CSD)
Distribution Enterprise (M3)
Engineering & Construction (LN)
Fashion (M3)
Food & Beverage (M3)
Healthcare (FSM/HRT)
Industrial (Syteline/CSI)
Industrial Enterprise (LN)
Manufacturing (M3)
Public Sector (FSM/HRT)
Solutions
Supply Chain Management (SCM)
Human Capital Management (HCM)
Events
Groups
User Groups
Your Groups
About
Email Community Support
Infor News
Migrated Forums
Home
Clovertech
Clovertech Archive
Read Only Archives
Cloverleaf
Tcl Library
Xlate parsing utility?
Paul Bishop
is there a utility in cloverleaf similar to the nfLoad for NetConfigs? I'm wanting to read in/parse out a .xlt file.
Thanks!
Find more posts tagged with
Clovertech
Comments
Charlie Bursell
You can take a look at the Xio routines in $HCIROOT/tcl/lib/cloverleaf/configIO.tlib
However, a caveat. All of the Tcl routines in this library were meant to support Cloverleaf internals and, as such, are subject to change without notice.
What specifically are you trying to do? I have written several routine to parse Xlate, not always with Xio
Paul Bishop
I want to take the Xlate and put it into a spreadsheet format. I'm picturing columns as the operation, source, pre-proc, action (i.e. table name, math function, etc), post-proc, and destination. I could then use this spreadsheet or share it to somebody who isn't cloverleaf savvy.
Charlie Bursell
I did that in the original Cloverleaf Documentation I wrote except it was in HTML format. I don't know if I can find the old code but as I recollect I was able to do it without Xio, mostly keyed lists and regexp.
The problem you have here is keeping up with changes. Most new releases will have a new key or something you have to deal with
david_barr
We do something similar with NetConfig. Instead of HTML we use
Wiki markup
and rely on our Wiki to do the final HTML conversion.