Skip to: Site menu | Main content

SXC

Simple XML Compiler

Writing an SXC Parser Print

Writing an SXC parser is fairly simple. You tell SXC what type of XML you are expecting and then attach actions to it. Lets look at a simple example. We have a Customer object with two properties "id" and "name". We want to map this XML to it:

Here is an example of the parser that we would create: