Subject: Re: [xsl] element nodes in a string?|
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Thu, 24 May 2001 18:13:31 +0100
Good luck, Wendell
I am a complete XML/XSLT newbie. I have spent a lot of time reading the FAQ and archives, but I can't find an answer to my problem.
I have a well-formed XML document as follows:
<top> <text>Each text field contains arbitrary text. It could also contain
paragraph breaks, _underscores_, and ~phrases delimited by tildes~. </text> <text>Underscores and tildes are guaranteed to come in pairs, or _not at all_ in a given text field. </text> </top>
What I want to do is to process each of these text fields, underlining text between underscores, italicizing text between tildes, and keeping paragraph breaks as they are, and output them in html and (later) rtf.