XSLT Function Diff

Compares two strings and returns a list of changes.

NAMESPACE

xmlns:AS="http://schema.advantages.cz/AsapFunctions"

SYNTAX

Xml Diff(string oldText, string newText)

PARAMETERS

Name Description
oldText Old text to compare
newText New text to compare

REMARKS

The function returns the following xml:

<lines> 
    <line changeType="Inserted">inserted line</line> 
    <line changeType="Unchanged">unchanged line</line> <line changeType="Deleted">deleted line</line> 
</lines>