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]

Matchin elements in text nodes


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


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