Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Parsing text with link from xml with XSLT

From: Simon Skov Boisen <simon.skov.boisen@-----.--->
To: NULL
Date: 3/4/2008 11:20:00 PM
Hi,

I have an xml document like this:

<paragraph>hello what are you doing? searching on <link url="http://
www.google.com">google</link>?</paragraph>

how can I extract data to xhtml from it so that it will be formatted
as

hello what are you doing? searching on <a href="http://
www.google.com">google</a>?

I've tried various different methods but I can't seem to combine the
text in the <paragraph> with the <link> so either I select the text:
"hello what are you doing? searching on google?" or I get the link <a
href="http://www.google.com">google</a>

Hope someone can help, thanks in advance!

Best Regards

Simon, Denmark


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent