OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Convert any data format to XML … very cool

Hi Folks,


DFDL [1] is a very cool standard for converting any data format text or binary to XML.


Want to convert a (text) CSV file to XML?  Use DFDL.


Want to convert a (binary) JPEG file to XML?  Use DFDL.



For example, I used DFDL to convert a binary data format called IPFIX [2] to XML. I converted the following binary (shown in hex) to XML.


00 0A 00 24 54 F8 92 E1 00 00 00 02 00 00 00 0A

00 02 00 15 00 02 00 02 01 2C 00 02 80 00 00 02

00 00 00 FF 00


That binary has this meaning:



I ran the binary through a DFDL parser and bam! out pops this XML:








[1] DFDL = Data Format Description Language. More info at: http://www.ogf.org/dfdl


[2] IPFIX = IP Flow Information Export. More info at: https://tools.ietf.org/html/rfc7011


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS