[xsl] Matchin elements in text nodes

Subject: [xsl] Matchin elements in text nodes
From: mika.borner@xxxxxxxx
Date: Fri, 19 Jan 2001 14:05:19 +0200
My xml file looks like this:

...
<article>
First part of article
bla bla bla
  <sub_header>this is the sub header</subheader>
Second part
bla bla bla
</article>
...

I tried several ways to write a stylesheet that produces me a html output like
this:

...
<p>
First part of article
bla bla bla
  <b>this is the sub header</b>
Second part
bla bla bla
</p>
...

I am confused how to handle elements that are between text. I tried different
ways using the text() operator.

Maybe somebody can help me?

Thanks in advance

Mika



 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread