You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2002/04/11 09:52:09 UTC

DO NOT REPLY [Bug 7946] New: - xsl:output idea debug comments

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7946>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7946

xsl:output idea debug comments

           Summary: xsl:output idea debug comments
           Product: XalanJ2
           Version: 2.3Dx
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Xalan
        AssignedTo: xalan-dev@xml.apache.org
        ReportedBy: s.kost@webmacher.de


what do you think about adding a attribute to xsl:output e.g. xalan:debug
which would cause all <template match=""> invokation to emit a comment into the
resulting tree :
xml:
<testtag/>

xsl:
...
<xsl:template match="testtag">
  <h1>tralala</h1>
</xsl:template>

generated html:
<!-- testtag:beg -->
<h1>tralala</h1>
<!-- testtag:end -->

This would aid debuging transformation results a lot (I belive) !