Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
67 lines (63 sloc) 1.12 KB
<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet href="x-nl2br.xsl"?>
<tests url="test.xml" name="x:nl2br">
<test>
<source>abc
def
gh</source>
<result>
<node-name/>
<node-content>abc</node-content>
</result>
<result>
<node-name>br</node-name>
<node-content/>
</result>
<result>
<node-name/>
<node-content>def</node-content>
</result>
<result>
<node-name>br</node-name>
<node-content/>
</result>
<result>
<node-name/>
<node-content>gh</node-content>
</result>
</test>
<test>
<source>abc
def
gh
</source>
<result>
<node-name/>
<node-content>abc</node-content>
</result>
<result>
<node-name>br</node-name>
<node-content/>
</result>
<result>
<node-name/>
<node-content>def</node-content>
</result>
<result>
<node-name>br</node-name>
<node-content/>
</result>
<result>
<node-name>br</node-name>
<node-content/>
</result>
<result>
<node-name/>
<node-content>gh</node-content>
</result>
<result>
<node-name>br</node-name>
<node-content/>
</result>
</test>
</tests>