Author |
Message
|
suraj |
Posted: Wed Mar 19, 2008 2:45 pm Post subject: repeating data in TDS format |
|
|
Acolyte
Joined: 31 Jul 2007 Posts: 56
|
Hi,
I have data in a file that looks like this
|||0.000|1234|N|||5675|||
|||0.123|1234|N||234||||
How do i model this in TDS format.
They are basically records in a file and each record starts on a new line. |
|
Back to top |
|
 |
jefflowrey |
Posted: Wed Mar 19, 2008 2:49 pm Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
You model the elements and then put them in types or groups that repeat. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
suraj |
Posted: Thu Mar 20, 2008 10:24 am Post subject: |
|
|
Acolyte
Joined: 31 Jul 2007 Posts: 56
|
The problem i am facing here is that the delimiter between two records id a new line character '\n'.
here is an example model i have prepared
RootElement
(local complex type)
Element1 occurs 0 to -1
(local complex type)
Data1
Data2
Data3
What should be the group indicator and group terminator values for the complex tyes?? |
|
Back to top |
|
 |
suraj |
Posted: Fri Mar 21, 2008 1:24 pm Post subject: |
|
|
Acolyte
Joined: 31 Jul 2007 Posts: 56
|
|
Back to top |
|
 |
kimbert |
Posted: Fri Mar 21, 2008 2:53 pm Post subject: |
|
|
 Jedi Council
Joined: 29 Jul 2003 Posts: 5543 Location: Southampton
|
Please look at the CSV sample in the Samples Gallery.
You specify a carriage return as <CR> and a line feed as <LF> |
|
Back to top |
|
 |
suraj |
Posted: Sun Mar 23, 2008 2:52 pm Post subject: |
|
|
Acolyte
Joined: 31 Jul 2007 Posts: 56
|
|
Back to top |
|
 |
|