Forum Discussion
mohamadelmardin
9 years agoNew Contributor III
XML_Input.docx (18.2 KB)
I attached my input. What would be the fastest way to get rid of the ‘@’ after parsing? I am thinking of using a mapper but it will be cumbersome to do it individually for each field especially if the xml input payload change from a document to another with optional elements added or removed.
how about applying xslt to incoming xml?
check this pipeline out, I am getting some errors on xslt parsing but I think we are still able to apply this xsl and get move all attribs to elements.
attached pipeline and xsl file (source - Convert XML Attributes To Elements XSLT - Stack Overflow )
xsl file, rname extn to .xsl
convert-xml-attrib-to-elem.xsl.txt (469 Bytes)
PARSE-ORDER_2017_06_27.slp (5.0 KB)