This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: RE: Insert html tag between elements
- From: Jeni Tennison <jeni at jenitennison dot com>
- To: Astor Rivera <arivera at esri dot com>
- Cc: "'xsl-list at lists dot mulberrytech dot com'" <xsl-list at lists dot mulberrytech dot com>
- Date: Wed, 10 Jul 2002 20:33:03 +0100
- Subject: Re: [xsl] RE: Insert html tag between elements
- Organization: Jeni Tennison Consulting Ltd
- References: <3F43287CD7BDD411A13500508BB0BE7E0812420E@livewire.esri.com>
- Reply-to: xsl-list at lists dot mulberrytech dot com
Hi Astor,
> I'd like to know or get some hints as to how to insert an html tag
> in between elements.
XSLT doesn't deal in tags, it deals in elements. I think that what
you're really asking is how to create a p element for each paragraph
element in your document. The answer is to create a template for the
paragraph elements that generate a p element:
<xsl:template match="paragraph">
<p><xsl:apply-templates /></p>
</xsl:template>
Cheers,
Jeni
---
Jeni Tennison
http://www.jenitennison.com/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list