我使用的Xalan具有以下XSL標題:如何使xsl轉換縮進輸出?
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0"
xmlns:redirect="http://xml.apache.org/xalan/redirect"
extension-element-prefixes="redirect"
xmlns:xalan="http://xml.apache.org/xalan">
<xsl:output method="text" indent="yes" xalan:indent-amount="4"/>
,輸出是不縮進。
有想法的人嗎?
我在記事本++中使用了xsl工具。當我在xsl中輸入錯誤時,它無法縮進輸出。驗證您的xsl文件是否具有正確的語法。 – flobadob 2013-10-09 10:44:14