Subject: [xsl] Parsing mixed content nodes From: "Jason Macki" <jmacki@xxxxxxx> Date: Fri, 8 Feb 2002 14:44:13 -0600 |
Hello, I'm writing a stylesheet that converts some HTML code into text. For example, this xml: <item> <p> This is a <a href="link.htm">link</a><br />This is a new line. </p> <item> would be translated into this text: This is a link(link.htm) This is a new line. I can use the descendant axis to retrieve the "p" node, the "a" node, and the "br" node from the "item" element. My problem is combining them back together, in the correct order. I'd like to be able to write XSLT that would output: "this is a", then the "a" node, then a line break for the "br" node, and then output the remaining text. Does anyone have any ideas? Thanks very much, Jason XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Proper xsl coding for &nb, Michael Capalbo | Thread | Re: [xsl] Parsing mixed content nod, Thomas B. Passin |
Re: [xsl] (consistency in select re, Jeni Tennison | Date | Re: [xsl] Parsing mixed content nod, Thomas B. Passin |
Month |