This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: header/footer: How to to separate html-tag in to different xsl-template rules?
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: header/footer: How to to separate html-tag in to different xsl-template rules?
- From: Kay Michael <Michael dot Kay at icl dot com>
- Date: Fri, 23 Jun 2000 17:32:52 +0100
- Reply-To: xsl-list at mulberrytech dot com
> How could I separate headers and footers in my xsl-templates?
> My problem is, that I cannot have a tag like "body" in an
> <xsl:template>, without closing it.
No, your problem is that you are thinking tags, not nodes. XSLT transforms
an input tree into a result tree, and trees contain nodes, not tags.
Creating a node in the result tree is an atomic operation, you can't write
half a node.
Mike Kay
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list