[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Binary data parser grammar using XML
Hi, Are there any tools which can take a data format specification in XML and generate code to parse messages conforming to that? Let me explain what I'm looking for with an example. Say, I have got a message 8 bytes in length with two integers a and b. I am looking for a tool using which I can specify (1) the format of the message (e.g., sequence of type, length, value) and get either of the following: (1) generated code using which I can access named fields e.g., I can write msg.a(5); msg.b(6); _or_ (2) a library which can read format specifications at run-time and enable access to data fields: e.g., I may write: msg.set("a", 5); msg.set("b", 6); I would like to the data format grammar specified in XML to have similar powers as that of ASN.1. For example, I should be able to specify complex data types like structures and sequences. Any tools? Thanks. Regards Sankar -- Sankaranarayanan K. V. | sankar@m... Motorola India Electronics Ltd | http://www.mot.com/miel
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|