Comments (1)
Melanie,
At the moment the segment separator, field separator and the composite
separator are set in the base class. This class is a child class of
loop, segment and field classes. The way the code sits today there
isn't an easy way to set the separators from within your project.
Normally the field separator is '*', the segment separator is '~' and
the composite separator is ':'.
The easiest and quickest way to make the change you need is to fork the
x12 code and in the base.rb file under the initialize method, set the
three separator variables to what you need.
Marty
On Wed, 2016-06-01 at 08:10 -0700, Melanie Fedok wrote:
Hello,
I am working through parsing an 846 document. I have created the XML
file to match the specification, which I will need added to the
project later when I have my testing complete. However, the EDI that I
am being set has the field separator set to '~' and the segment
separator set to '*'. Is there a way to set the values to be used for
these separators?—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
from x12.
Related Issues (9)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from x12.