January 2014 Entries

Complex XML schemas. How to simplify?

[Sample code is here: HIPAA Schema Simplification for the BizTalk Server application]The XML Schemas are used for two main tasks: for processing XML documents (for the XML document validation and for the XML document transformation); for defining the domain specific standards. XML Schemas and Domain StandardsLet's talk about the domain standards. EDI, RosettaNet, NIEM, ebXML, Global Justice XML Data Model, SWIFT, OpenTrave, Maritime Data Standards, HIPAA, HL7, etc. If we look at those standards, ......

BizTalk: Complex decoding in data transformations

Sometimes we need to make complex decoding in the data transformations. It could happen especially in the big EDI documents as HIPAA.Let’s start with examples.In one example we need to decode a field. We have the source codes and the target codes for this field. The number of both codes is small and the mapping is one to one or many to one (1-1, M-1). One of the simplest solution is to create a Decode .NET component. Store the code table as a dictionary and decoding will be fast. We could hard code ......