Hi
The following is the output from xslt processing (see below). Context vs2010 / .net 4 XSLT processing.
=> Why have <br /> br been replaced with the ridiculous unnecessary name space info ?
>> How can i stop it ?
Thanks in advance
Output
<br xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:myObj="urn:PadRightFunc" xmlns:ns="http://microsoft.com/schemas/VisualStudio/TeamTest/2010"><strong xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:myObj="urn:PadRightFunc" xmlns:ns="http://microsoft.com/schemas/VisualStudio/TeamTest/2010">This is a test file for SERGE</strong><br xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:myObj="urn:PadRightFunc" xmlns:ns="http://microsoft.com/schemas/VisualStudio/TeamTest/2010"><br xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:myObj="urn:PadRightFunc" xmlns:ns="http://microsoft.com/schemas/VisualStudio/TeamTest/2010"><hr xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:myObj="urn:PadRightFunc" xmlns:ns="http://microsoft.com/schemas/VisualStudio/TeamTest/2010"><br xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:myObj="urn:PadRightFunc" xmlns:ns="http://microsoft.com/schemas/VisualStudio/TeamTest/2010"><hr xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:myObj="urn:PadRightFunc" xmlns:ns="http://microsoft.com/schemas/VisualStudio/TeamTest/2010"> Timestamp 2013-07-05T20:11:55.0974828+10:00<br xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:myObj="urn:PadRightFunc" xmlns:ns="http://microsoft.com/schemas/VisualStudio/TeamTest/2010"><br xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:myObj="urn:PadRightFunc" xmlns:ns="http://microsoft.com/schemas/VisualStudio/TeamTest/2010"><hr xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:myObj="urn:PadRightFunc" xmlns:ns="http://microsoft.com/schemas/VisualStudio/TeamTest/2010"> Timestamp 2013-07-05T20:11:55.0974828+10:00<br xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:myObj="urn:PadRightFunc" xmlns:ns="http://microsoft.com/schemas/VisualStudio/TeamTest/2010"><br xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:myObj="urn:PadRightFunc" xmlns:ns="http://microsoft.com/schemas/VisualStudio/TeamTest/2010"><hr xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:myObj="urn:PadRightFunc" xmlns:ns="http://microsoft.com/schemas/VisualStudio/TeamTest/2010"> Timestamp 2013-07-05T20:11:55.0974828+10:00<br xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:myObj="urn:PadRightFunc" xmlns:ns="http://microsoft.com/schemas/VisualStudio/TeamTest/2010"><br xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:myObj="urn:PadRightFunc" xmlns:ns="http://microsoft.com/schemas/VisualStudio/TeamTest/2010"><br xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:myObj="urn:PadRightFunc" xmlns:ns="http://microsoft.com/schemas/VisualStudio/TeamTest/2010">
XSLT Input
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:myObj="urn:PadRightFunc" xmlns:ns="http://microsoft.com/schemas/VisualStudio/TeamTest/2010"><xsl:output method="html"/><xsl:template match="/"><br/><strong>This is a test file for SERGE</strong><br/><br/><hr /><xsl:for-each select="ns:TestRun/ns:ResultSummary/ns:RunInfos/ns:RunInfo" ><br/><hr /> Timestamp <xsl:value-of select="@timestamp" /><br/></xsl:for-each><br/><br/></xsl:template></xsl:stylesheet>
A ZIP of the test files can be found here http://sdrv.ms/190CHHl