This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Matchin elements in text nodes
- To: XSL-List at lists dot mulberrytech dot com
- Subject: [xsl] Matchin elements in text nodes
- From: mika dot borner at telia dot fi
- Date: Fri, 19 Jan 2001 14:05:19 +0200
- Reply-To: xsl-list at lists dot mulberrytech dot com
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