-2
前面的意思是什麼STR:前綴是什麼意思?它就在mycsharpextmethod這是什麼前綴在我的C#功能
<xsl:template name="name1">
<xsl:param name="text" select="." />
<xsl:value-of disable-output-escaping="yes" select="str:mycsharpextmethod($text)" />
</xsl:template>
@CodeCaster - 這是不正確的。 '元素的'select'屬性完全能夠處理名稱空間引用作爲其值的一部分。 –
ABach
2013-04-10 17:57:04
我只能發現'select'屬性必須包含一個[表達式](http://www.w3.org/TR/xpath-30/#prod-xpath30-Expr),這使得沒有提及名稱空間。但我在XSLT字段中沒有專家,所以我收回我的評論,也許我監督東西,因爲例如在[這個答案](http://stackoverflow.com/a/284145/266143)中提到。 – CodeCaster 2013-04-10 18:07:34
@CodeCaster - 看看更多的一些信息,這太問題/回答:http://stackoverflow.com/questions/2585533/xsl-and-namespaces – ABach 2013-04-10 18:56:05