Processing CDATA

Subject: Processing CDATA
From: Lars-Arne Mattsson <larssa@xxxxxxxxxx>
Date: Sat, 23 Jan 1999 17:19:47 +0100 (MET)
Hello!

How do I process character data containing some stylistic elements
separate from other elements?

I want to do the following:
XML:
<question>
   Tell me what you <italic>think</italic> of this program?
   <textanswer/>
</question>

HTML:
<form ...>
<table>
...
  <tr>
    <th>Tell me what you <i>think</i> of this program?</th>
  </tr>
  <tr>
    <td><textarea name="test" ...></textarea>
  </tr>
...
</table>
</form>

The problem is how I should extract the question text together with
the the <italic> element and still be able to handle <textanswer>
separately. <xsl:process-children/> won't work and I haven't succeded
to create a <xsl:process select=""> that works.

I would really appreciate some help!

Greetings,
/Larssa


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


Current Thread
  • Processing CDATA
    • Lars-Arne Mattsson - Sat, 23 Jan 1999 17:19:47 +0100 (MET) <=
      • <Possible follow-ups>
      • Kent Fitch - Sun, 24 Jan 1999 14:47:52 +1100