Skip to Content
May 12, 2016 at 08:09 PM

Simple Transformation (Deserialization) - how to handle attributes with namespaces


Hi all,

I am currently working on a simple transformation to deserialize an XML file.

The file is pretty straightforward but the root element is giving me problems because it has attributes with namespaces.

The lines below is similar to what I'm getting in the XML file.

<RootElement xmlns="" xmlns:xsi="" xsi:schemaLocation=" RootElement.xsd">

I tried copying the whole string in my simple transformation but it ends up skipping everything and if I remove any of the attributes, I end up with 'System expected {}schemaLocation' error.

I tried searching online for any direction but I haven't found anything so far. It would really appreciate any direction to resolve this issue.

Thanks a lot,