Including EDIFACT envelope (UNB) information in xmlnocheck or jsonnocheck grammer output files?

46 views
Skip to first unread message

clemper

unread,
May 8, 2012, 12:40:20 PM5/8/12
to bots...@googlegroups.com
Hi,

I am trying to do a one to one mapping between edifact and json or xml.  I notice that by default the data in the UNB segment does not get output when using the jsonnocheck or xmlnocheck grammer.  My grammer files look like: 

from bots.botsconfig import *

syntax = { 

        'merge': False,

        }

Is there a way to include the envelope data (i.e. sender, receiver, testindicator, etc) into the output grammer when using a "nocheck" grammer?

Thanks,

Chris Lemper


Reply all
Reply to author
Forward
0 new messages