Hi all,
I am a beginner in XSLT. I have a client which has a browser control embedded in it. This client accepts an XML file from a server applies style sheets on it using XSLT and displays the new XSLT applied XML page in the webbrowser.
Now the XML file which i get has has a structure as...
for eg:
<SOME ROOT TAG>
<URL>
www.someURL.com </URL>
</SOME ROOT TAG>
The data associated with the <URL> tag is basically some URL provided by the server which gives some XML content on being requested for. Now what i wanted to know is that, is it possible in XSLT to query for the URL and then replace the url data i.e "www.someURL.com " in this case, with the XML data that is obtained at that URL. So whenever the XSLT is applied on that XML file the URL data is resolved to the XML data obtaine in response.
say something like this :
*************** BEFORE APPLYING STYLE SHEET *****************
<SOME ROOT TAG>
<URL>
www.someURL.com </URL>
</SOME ROOT TAG>
*************** AFTER APPLYING STLYE SHEET *****************
<SOME ROOT TAG>
<URL>
<NEWS>
<HEADLINES> xxxxxxx </HEADLINES>
</NEWS>
</URL>
</SOME ROOT TAG>
The above thing has been done by using JAXB .. But we wanted to see if it is possible by using only XSLT. Please help me out if it possible .
Thanking in Advance.
- regards
vibin