J
jamesfin
Dear XMLers,
Please guide me...
I have a simple xml file...
<URLTest>
<text1>My favorite news site is http://www.yahoo.com</text1>
<text2>My favorite software site is
http://www.microsoft.com</text2>
</URLTest>
Using this XML, how do I extract the url using XSLT so that the
resulting html contains the following...
My favorite news site is <a
href="http://www.yahoo.com">http://www.yahoo.com</a>
My favorite software site is <a
href="http://www.yahoo.com">http://www.microsoft.com</a>
The text entered is free form so I won't know ahead of time if a URL
exists in the input text field or not. It's not required but it would
be nice to create the link for them if it is there.
It is essentially replacing the http://... with the href code.
Netman
Please guide me...
I have a simple xml file...
<URLTest>
<text1>My favorite news site is http://www.yahoo.com</text1>
<text2>My favorite software site is
http://www.microsoft.com</text2>
</URLTest>
Using this XML, how do I extract the url using XSLT so that the
resulting html contains the following...
My favorite news site is <a
href="http://www.yahoo.com">http://www.yahoo.com</a>
My favorite software site is <a
href="http://www.yahoo.com">http://www.microsoft.com</a>
The text entered is free form so I won't know ahead of time if a URL
exists in the input text field or not. It's not required but it would
be nice to create the link for them if it is there.
It is essentially replacing the http://... with the href code.
Netman