Subject: how to know the XSL processing is finished.
From: Honglin Su <hosu@xxxxxxxxxxx>
Date: Tue, 07 Sep 1999 09:12:11 -0400
|
Hi, there,
When a stylesheet is applied to a XML document by a XSLT processor, how
can I know that all XML elements have been processed?
e.g.
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/XSL/Transform/1.0">
<!-- process the children recursively -->
<xsl:template match="*">
Element name = <xsl:value-of select="name(.)"/>
<xsl:apply-templates/>
</xsl:template>
<xsl:template match="text()"/>
</xsl:stylesheet>
This stylesheet will do a pre-order traverse. Can I insert any
additional template after all elements have been processed?
Thank you!
Honglin
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|