Notepad++ XML compare in order with xsl


I need to compare two XML files but they aren't always in the same order. This is the format I have:

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="Untitled.xsl"?>

And the stylesheet I have is:

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="">
    <xsl:output method="text"/>

    <xsl:template match="text()">
        <xsl:variable name="clean" select="normalize-space(.)"/>
        <xsl:if test="string-length($clean) > 0">
            <xsl:value-of select="$clean"/><xsl:text>&#10;</xsl:text>

I really haven't worked with this before so I don't know a lot about it. What I need is to order the Blub so when I compare it, it shows atleast the right ones next to eachother. But how do I make them order it? I also need to see it like a gridview/table so it's easier to read. Can this all be done in Notepad++? I have tried XMLPad but that doesn't really work with what I need.

Could someone maybe please help?

Show source
| xml   | xslt   | compare   | notepad++   | stylesheet   2016-12-04 20:12 0 Answers

Answers to Notepad++ XML compare in order with xsl ( 0 )

Leave a reply to - Notepad++ XML compare in order with xsl

◀ Go back