Tôi có XSLT sauXSLT tại sao là hiển thị trong my href?
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" exclude-result-prefixes="msxsl">
<xsl:output method="html" omit-xml-declaration="yes" />
<xsl:strip-space elements="*"/>
<xsl:template match="@* | node()">
<xsl:copy>
<html>
<body>
<xsl:for-each select="AdvReqIMailMsg">
<a><xsl:attribute name="href">
http://<xsl:value-of select="BackSideUrl"/>/customerlogin.asp?P=<xsl:value-of select="DynaCalPath"/></xsl:attribute >
Login to View History of This Request
</a>
<br/>
</xsl:for-each>
</body>
</html>
</xsl:copy>
</xsl:template>
</xsl:stylesheet>
Kết quả có sau đây:
<a href="
 http://dotnet.dynacal.com/customerlogin.asp?P=DEMO8">
Login to View History of This Request
</a>
Tại sao các 

và tất cả các không gian đó? Tôi mới sử dụng XSLT và các tìm kiếm trên google của tôi chưa biến bất kỳ thứ gì tôi hiểu. Cảm ơn, Shawn
Câu hỏi hay, +1. Xem câu trả lời của tôi cho giải pháp ngắn nhất và dễ đọc nhất. :) –
Cùng một nguyên nhân (nhưng không thực sự trùng lặp): http://stackoverflow.com/questions/848841/c-xslt-transform-adding-xa-and-xd-to-the-output – Lucero