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 <xsl-list at mulberrytech dot com>
- Subject: RE: header/footer: How to to separate html-tag in to different xsl-template rules?
- From: Carlos Araya <elrond at valinor dot sjsu dot edu>
- Date: Fri, 23 Jun 2000 09:01:18 -0700 (PDT)
- Reply-To: xsl-list at mulberrytech dot com
Hi there:
The basic concept is that the main template (the one matching the
root element) contains all the structure of the HTML page and then you can
just go down and use <xsl:apply-templates> so the matching elements for
that section can be processed. Unless you specifically write the template
tag as something like <xsl:apply-templates match="MyTemplate"> the
templates will be processed in the order they appear in the documents
You can use absolute XPath expressions or you can use unique tag names to
take care of the problem of only certain tags matching certain sections of
the document.
If you have any questions, feel free to contact me directly
HTH
Carlos
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list