Tôi đang sử dụng Xalan với tiêu đề xsl sau:Làm thế nào để tôi thực hiện chuyển đổi xsl thụt đầu ra?
<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"/>
Và đầu ra là không thụt vào.
Bất kỳ ai có ý tưởng?
Tôi đã sử dụng công cụ xsl trong notepad ++. Nó không thể thụt đầu ra khi tôi có lỗi đánh máy trong xsl của tôi. Xác minh tệp xsl của bạn có cú pháp chính xác. – flobadob