Customer Portal

Splitting Individual XMLs from Concatenated XML file

Comments 2

  • Avatar
    imriskal
    0
    Comment actions Permalink
    Hi,

    The easiest solution would probably be a Reformat component after your UniversalDataReader which would put "<?" back. Something like:

    $out.0.field1 = "<?" + $in.0.field1;

    I can not see any other way as your input file is not a valid XML file. If you knew the length of each XML part, you could use fixed-length metadata instead of the delimited one. Or if each XML part was on separate line, you could use \r\n as a delimiter.

    Nevertheless, the Reformat workaround should help you if the two missing characters are the only flaw in your output.

    Regards,
  • Avatar
    devmaha
    0
    Comment actions Permalink
    Aren't you guys the best support one can dream of.
    Thank you so much.

Please sign in to leave a comment.