Handling empty nodes in flat files and their XML counterparts

Did you know that you can actually suppress empty nodes for inbound flat files. If you have empty fields in a flat file and you don’t want them to end up as empty nodes in your XML instances generated from that, you can specify the attribute suppress_empty_nodes=”true” as part of the b:schemaInfo element in the flat file schema.

For generating empty elements in flat files if their XML counterpart nodes are not available in the instance, specify the attribute generate_empty_nodes=”true” as part of the b:schemaInfo element in the flat file schema.

One thought on “Handling empty nodes in flat files and their XML counterparts

  1. Handling Empty xml January 6, 2006 / 6:08 pm

    in my project i get a flatfile in the inbound message, and after i split it in order to have two xml files, one for valid lines and second for invalid lines, am doing that whith business rule composer, but the problem is when there is no invalid lines the invalid xml is genarated.
    So can i have some help plz??

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s