Click here to Skip to main content
14,736,362 members
Home » Discussions » XML / XSL
   

XML / XSL

 
AnswerRe: Import a C# textbox value into a XSLT to generate a .aspx page Pin
Stuart Dootson27-Aug-09 23:22
professionalStuart Dootson27-Aug-09 23:22 
QuestionXML in Word 2007 Pin
Idle_Force25-Aug-09 19:07
MemberIdle_Force25-Aug-09 19:07 
QuestionReference a node or an element in one .xml file in another Pin
Arokiamary24-Aug-09 17:58
MemberArokiamary24-Aug-09 17:58 
AnswerRe: Reference a node or an element in one .xml file in another Pin
Stuart Dootson25-Aug-09 0:38
professionalStuart Dootson25-Aug-09 0:38 
GeneralRe: Reference a node or an element in one .xml file in another Pin
Arokiamary25-Aug-09 1:51
MemberArokiamary25-Aug-09 1:51 
GeneralRe: Reference a node or an element in one .xml file in another Pin
Stuart Dootson25-Aug-09 3:04
professionalStuart Dootson25-Aug-09 3:04 
GeneralRe: Reference a node or an element in one .xml file in another Pin
Arokiamary25-Aug-09 20:03
MemberArokiamary25-Aug-09 20:03 
QuestionHow to load xml file in mozillla Pin
biswa4724-Aug-09 4:55
Memberbiswa4724-Aug-09 4:55 
Hi dear friends,

from last few days i am digging my head like anything for loading rss feed(its nothing but a xml file) in to mozilla browser.

i am succesfully load that and displayed in IE but unable to load it in mozzlia.here the link for rss feed is-"http://www.ed.gov/rss/edgov.xml".
here i am able to dtect the browser but unable to load it in mozilla

plz help me out.

<br />
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><br />
<html xmlns="http://www.w3.org/1999/xhtml" ><br />
<head><br />
    <title>Untitled Page</title><br />
    <script type="text/javascript"><br />
 if(navigator.appName == "Netscape")<br />
    {<br />
     alert("You're using a Netscape browser.")<br />
      function loadXML()<br />
            {<br />
            <br />
             var xmlDoc = document.implementation.createDocument("", "", null) <br />
             xmlDoc.load("http://www.ed.gov/rss/edgov.xml");<br />
             xmlDoc.onload = readXML;<br />
             <br />
              alert("hi")<br />
                document.getElementById("title").innerHTML= xmlDoc.getElementsByTagName("title")[2].firstChild.nodeValue<br />
                document.getElementById("description").innerHTML=   xmlDoc.getElementsByTagName("description")[2].firstChild.nodeValue<br />
                <br />
                document.getElementById("title1").innerHTML= xmlDoc.getElementsByTagName("title")[3].firstChild.nodeValue<br />
                document.getElementById("description1").innerHTML=   xmlDoc.getElementsByTagName("description")[3].firstChild.nodeValue<br />
                <br />
                document.getElementById("title2").innerHTML= xmlDoc.getElementsByTagName("title")[4].firstChild.nodeValue<br />
                document.getElementById("description2").innerHTML=   xmlDoc.getElementsByTagName("description")[4].firstChild.nodeValue<br />
                <br />
                document.getElementById("title3").innerHTML= xmlDoc.getElementsByTagName("title")[4].firstChild.nodeValue<br />
                document.getElementById("description3").innerHTML=   xmlDoc.getElementsByTagName("description")[4].firstChild.nodeValue<br />
                <br />
                document.getElementById("title4").innerHTML= xmlDoc.getElementsByTagName("title")[5].firstChild.nodeValue<br />
                document.getElementById("description4").innerHTML=   xmlDoc.getElementsByTagName("description")[5].firstChild.nodeValue<br />
                <br />
                document.getElementById("title5").innerHTML= xmlDoc.getElementsByTagName("title")[6].firstChild.nodeValue<br />
                document.getElementById("description5").innerHTML=   xmlDoc.getElementsByTagName("description")[6].firstChild.nodeValue<br />
              <br />
              <br />
            }<br />
            <br />
            	<br />
                <br />
        <br />
    }<br />
     if(navigator.appName == "Microsoft Internet Explorer")<br />
    {<br />
        var xmlDoc<br />
        function loadXML()<br />
            {<br />
            if (window.ActiveXObject)<br />
              {<br />
              xmlDoc = new ActiveXObject("Microsoft.XMLDOM");<br />
              xmlDoc.async=false;<br />
              xmlDoc.load("http://www.ed.gov/rss/edgov.xml");<br />
              xmlObj=xmlDoc.documentElement; <br />
<br />
              if (xmlDoc.readyState != 4) <br />
                 { <br />
                   return false; <br />
                 } <br />
            	<br />
                document.getElementById("title").innerHTML= xmlDoc.getElementsByTagName("title")[2].firstChild.nodeValue<br />
                document.getElementById("description").innerHTML=   xmlDoc.getElementsByTagName("description")[2].firstChild.nodeValue<br />
                <br />
                document.getElementById("title1").innerHTML= xmlDoc.getElementsByTagName("title")[3].firstChild.nodeValue<br />
                document.getElementById("description1").innerHTML=   xmlDoc.getElementsByTagName("description")[3].firstChild.nodeValue<br />
                <br />
                document.getElementById("title2").innerHTML= xmlDoc.getElementsByTagName("title")[4].firstChild.nodeValue<br />
                document.getElementById("description2").innerHTML=   xmlDoc.getElementsByTagName("description")[4].firstChild.nodeValue<br />
                <br />
                document.getElementById("title3").innerHTML= xmlDoc.getElementsByTagName("title")[4].firstChild.nodeValue<br />
                document.getElementById("description3").innerHTML=   xmlDoc.getElementsByTagName("description")[4].firstChild.nodeValue<br />
                <br />
                document.getElementById("title4").innerHTML= xmlDoc.getElementsByTagName("title")[5].firstChild.nodeValue<br />
                document.getElementById("description4").innerHTML=   xmlDoc.getElementsByTagName("description")[5].firstChild.nodeValue<br />
                <br />
                document.getElementById("title5").innerHTML= xmlDoc.getElementsByTagName("title")[6].firstChild.nodeValue<br />
                document.getElementById("description5").innerHTML=   xmlDoc.getElementsByTagName("description")[6].firstChild.nodeValue<br />
        <br />
              }<br />
            }<br />
            <br />
        <br />
      }<br />
</script><br />
</head><br />
<body onload="loadXML()"><br />
<table width="100%" ><br />
    <tr><br />
        <td ><br />
        <marquee  onmouseover="if(this.stop)this.stop()" onmouseout="if(this.start)this.start()"><br />
        <label id="title"> </label> - <label id="description"></label>;<br />
        <label id="title1"></label> - <label id="description1"></label>; <br />
        <label id="title2"></label> - <label id="description2"></label>; <br />
        <label id="title3"></label> - <label id="description3"></label>;<br />
        <label id="title4"></label> - <label id="description4"></label>;<br />
        <label id="title5"></label> - <label id="description5"></label>;<br />
         </marquee><br />
     </td><br />
    </tr><br />
</table><br />
</body><br />
</html><br />
<br />

AnswerRe: How to load xml file in mozillla Pin
Stuart Dootson25-Aug-09 0:33
professionalStuart Dootson25-Aug-09 0:33 
GeneralRe: How to load xml file in mozillla Pin
biswa4725-Aug-09 0:50
Memberbiswa4725-Aug-09 0:50 
GeneralRe: How to load xml file in mozillla Pin
Stuart Dootson25-Aug-09 0:52
professionalStuart Dootson25-Aug-09 0:52 
GeneralRe: How to load xml file in mozillla Pin
biswa4725-Aug-09 1:08
Memberbiswa4725-Aug-09 1:08 
GeneralRe: How to load xml file in mozillla Pin
Stuart Dootson25-Aug-09 2:13
professionalStuart Dootson25-Aug-09 2:13 
QuestionXML Save and Load to SQL Server 2005 Database. Pin
ashwath197924-Aug-09 2:56
Memberashwath197924-Aug-09 2:56 
QuestionHow to create a semi-colon seperated file using XSL Pin
RK11@200919-Aug-09 4:15
MemberRK11@200919-Aug-09 4:15 
AnswerRe: How to create a semi-colon seperated file using XSL Pin
Stuart Dootson21-Aug-09 11:14
professionalStuart Dootson21-Aug-09 11:14 
QuestionGeneration of .cs pages using xml/xslt Pin
coolsharath17-Aug-09 21:59
Membercoolsharath17-Aug-09 21:59 
QuestionData Definition Specification Pin
Nagaraj Muthuchamy16-Aug-09 23:53
professionalNagaraj Muthuchamy16-Aug-09 23:53 
QuestionPreventing and encrypting data from breaking Xml Structure Pin
Saksida Bojan12-Aug-09 5:11
MemberSaksida Bojan12-Aug-09 5:11 
AnswerRe: Preventing and encrypting data from breaking Xml Structure Pin
Stuart Dootson12-Aug-09 22:41
professionalStuart Dootson12-Aug-09 22:41 
GeneralRe: Preventing and encrypting data from breaking Xml Structure Pin
Saksida Bojan13-Aug-09 0:09
MemberSaksida Bojan13-Aug-09 0:09 
GeneralRe: Preventing and encrypting data from breaking Xml Structure Pin
Stuart Dootson13-Aug-09 0:19
professionalStuart Dootson13-Aug-09 0:19 
GeneralRe: Preventing and encrypting data from breaking Xml Structure Pin
Saksida Bojan13-Aug-09 0:24
MemberSaksida Bojan13-Aug-09 0:24 
QuestionWindows Forms Layout using Xml Pin
Devaang1110-Aug-09 21:52
MemberDevaang1110-Aug-09 21:52 
AnswerRe: Windows Forms Layout using Xml Pin
annathor10-Aug-09 22:11
Memberannathor10-Aug-09 22:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.