This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: How do Comments affect Performance?


>Not really important, and just out of curiosity... does this mean that
>you won't access the comments in the stylesheet though
>document("")//comment() ?

When the stylesheet is accessed as a source document (using document(""))
the same rules for whitespace and comments apply as for any other source
document. In Saxon, this means the stylesheet is re-parsed and a separate
tree is built.

Mike Kay


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]