Positional schemas
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server General > Positional schemas




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Positional schemas  
Nateshan


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-12-05 11:07 PM

I am working on positional schema presently and having a peculiar problem
creating schema.

I have a following file structure for the schema.
Message Header
Type
Version Number
Message Content
Id
Code
NoOfProducts
Products
ProductName
Qty
NoOfCompartments
Compartments
ComponentNumber
ExemptNo
NoOfBaseProducts
BaseProductCode
TankerCode

In the above structure, If you notice there are Products,Compartments and
BaseproductCode, these records should repeat based on value in NoOfProducts,
NoOfCompartments and NoOfBaseProducts.

for Eg: If the value for NoOfProducts is 3 then the Products record Node
should repeat 3 times......its dynamic and depends on the value from the fla
t
file.

and the input file I will get is a big positional string and need to parse
that.

Anyone inputs will be appreciated.
Thanks








[ Post a follow-up to this message ]



    RE: Positional schemas  
David Downing [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-12-05 11:07 PM

The flat file parser is entirely grammar driven and cannot be used to drive
the parse based on content of the message.  If your positional records have
tags that can be used to identify each type of record, you might be able to
parse your data without the validation of the number of records parsed.  If
this is not the case, you might have to develop a custom disassembler to
parse this type of data... I believe you can find examples of custom
disassemblers if you do a web search.

If you cut/paste your message data, I can help you determine if it can be
parsed by the BTS FF Parser.

--
Dave

This posting is provided "AS IS" with no warranties, and confers no rights.






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 06:19 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register