|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Split element with mixed content
Hello
What is the best method for splitting an element that has mixed content?
INPUT
-----
<root>
<p>The quick <b>brown</b> fox jumped over the lazy dog.</p>
</root>
In the above example I want to split on the word 'over'.
OUTPUT
-----
<root>
<p>The quick <b>brown</b> fox jumped </p>
<p>over the lazy dog.</p>
</root>
Using analyze-string and tokenize only gives me the string value of the
<b> element. Am I missing something very obvious?
Thanks.
--
Kevin
|
Back To School Sale!Save 30% off all Stylus Studio 2008 Products when you purchase from our Online Shop. Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|






