Click here to Skip to main content
15,914,221 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 22:22
professionalStuart Dootson27-Aug-09 22:22 
QuestionXML in Word 2007 Pin
Idle_Force25-Aug-09 18:07
Idle_Force25-Aug-09 18:07 
QuestionReference a node or an element in one .xml file in another Pin
Arokiamary24-Aug-09 16:58
Arokiamary24-Aug-09 16:58 
AnswerRe: Reference a node or an element in one .xml file in another Pin
Stuart Dootson24-Aug-09 23:38
professionalStuart Dootson24-Aug-09 23:38 
GeneralRe: Reference a node or an element in one .xml file in another Pin
Arokiamary25-Aug-09 0:51
Arokiamary25-Aug-09 0:51 
GeneralRe: Reference a node or an element in one .xml file in another Pin
Stuart Dootson25-Aug-09 2:04
professionalStuart Dootson25-Aug-09 2:04 
GeneralRe: Reference a node or an element in one .xml file in another Pin
Arokiamary25-Aug-09 19:03
Arokiamary25-Aug-09 19:03 
QuestionHow to load xml file in mozillla Pin
biswa4724-Aug-09 3:55
biswa4724-Aug-09 3: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 Dootson24-Aug-09 23:33
professionalStuart Dootson24-Aug-09 23:33 
GeneralRe: How to load xml file in mozillla Pin
biswa4724-Aug-09 23:50
biswa4724-Aug-09 23:50 
GeneralRe: How to load xml file in mozillla Pin
Stuart Dootson24-Aug-09 23:52
professionalStuart Dootson24-Aug-09 23:52 
GeneralRe: How to load xml file in mozillla Pin
biswa4725-Aug-09 0:08
biswa4725-Aug-09 0:08 
GeneralRe: How to load xml file in mozillla Pin
Stuart Dootson25-Aug-09 1:13
professionalStuart Dootson25-Aug-09 1:13 
QuestionXML Save and Load to SQL Server 2005 Database. Pin
ashwath197924-Aug-09 1:56
ashwath197924-Aug-09 1:56 
QuestionHow to create a semi-colon seperated file using XSL Pin
RK11@200919-Aug-09 3:15
RK11@200919-Aug-09 3:15 
AnswerRe: How to create a semi-colon seperated file using XSL Pin
Stuart Dootson21-Aug-09 10:14
professionalStuart Dootson21-Aug-09 10:14 
QuestionGeneration of .cs pages using xml/xslt Pin
coolsharath17-Aug-09 20:59
coolsharath17-Aug-09 20:59 
QuestionData Definition Specification Pin
Nagaraj Muthuchamy16-Aug-09 22:53
professionalNagaraj Muthuchamy16-Aug-09 22:53 
QuestionPreventing and encrypting data from breaking Xml Structure Pin
Saksida Bojan12-Aug-09 4:11
Saksida Bojan12-Aug-09 4:11 
AnswerRe: Preventing and encrypting data from breaking Xml Structure Pin
Stuart Dootson12-Aug-09 21:41
professionalStuart Dootson12-Aug-09 21:41 
GeneralRe: Preventing and encrypting data from breaking Xml Structure Pin
Saksida Bojan12-Aug-09 23:09
Saksida Bojan12-Aug-09 23:09 
GeneralRe: Preventing and encrypting data from breaking Xml Structure Pin
Stuart Dootson12-Aug-09 23:19
professionalStuart Dootson12-Aug-09 23:19 
GeneralRe: Preventing and encrypting data from breaking Xml Structure Pin
Saksida Bojan12-Aug-09 23:24
Saksida Bojan12-Aug-09 23:24 
QuestionWindows Forms Layout using Xml Pin
Devaang1110-Aug-09 20:52
Devaang1110-Aug-09 20:52 
AnswerRe: Windows Forms Layout using Xml Pin
annathor10-Aug-09 21:11
annathor10-Aug-09 21: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.