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]
Other format: [Raw text]

Re: RE: Insert html tag between elements


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


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