Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
不知何故,我使用 php 进行的 xslt 转换总是xmlns=""作为属性添加到所有根元素。有没有办法防止这种情况?
xmlns=""
在您的 XSLT 中尝试:
<xsl:stylesheet exclude-result-prefixes="#default">