Solved
Forum Discussion
darshthakkar
6 months agoValued Contributor
Just to add here, I've tried with uploading XSD and writing a python script too but the results are not intended.
Thank you.
Best Regards,
Darsh
- XanderVR2 months agoNew Contributor
Just to add, as I see you already have a solution.
I have managed to achieve the same by using the XSLT Snap with an XSLT that only pretty prints the XML.
In this XSLT snap I also did a validation on an XSD on the incoming data.<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="xml" encoding="UTF-8" indent="yes"/> <!-- Identity template : copy all text nodes, elements and attributes --> <xsl:template match="@*|node()"> <xsl:copy> <xsl:apply-templates select="@*|node()"/> </xsl:copy> </xsl:template> </xsl:stylesheet>