Page 1 of 1

Generate multiple xml files using values in a attribute

Posted: Thu Dec 03, 2015 3:07 pm
by babbu9
Hi
I need to create dynamic xml files based on the values of data in a field.

Field
123
124
125
126
...


Filenames
123.xml
124.xml
125.xml
126.xml
....


Should produce data corresponding to that college in the file and have the filename with the attribute value.

How can I accomplish this? Please inform.

Posted: Thu Dec 03, 2015 3:17 pm
by eostic
You didn't say which Stage you are using....

...if the xmlOutput Stage, then sort your data by that column...meaning all the rows for a given document, in sorted order by those column's values...

...then specify that column as a "trigger" column. It might not be "exactly" the naming convention you are looking for, but it will cut new files based on the sort breaks.

Ernie