[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Platform and browser compatibility
here are the files i'm using: phdb.htm <html> <head> <xml id="Photoxml" src="photo.xml"></xml> <TITLE>Untitled</TITLE> <script> var TblPhotodoc; var gloRecNo=0; var rootPhoto; var bsid, Etat, District, Taluk, Lieu; function LoadDoc() { TblPhotodoc = Photoxml; rootPhoto = TblPhotodoc.documentElement; bsid = TblPhotodoc.getElementsByTagName("bsid"); Etat = TblPhotodoc.getElementsByTagName("Etat"); District = TblPhotodoc.getElementsByTagName("District"); Taluk = TblPhotodoc.getElementsByTagName("Taluk"); Lieu = TblPhotodoc.getElementsByTagName("Lieu"); txtPhotoCnt.value="Photo - " + (gloRecNo+1) + " of " + (rootPhoto.childNodes.length); DOCCONTENT.innerHTML += "<br>"; changeVal(); } function changeVal() { txtEtat.value= txtDistrict.value = txtTaluk.value = txtLieu.value; txtPhotoCnt.value="Photo - " + (gloRecNo+1) + " of " + (rootPhoto.childNodes.length-1) txtPhotoCnt.size = txtPhotoCnt.value.length; if (Etat(gloRecNo)) { txtEtat.value = Etat(gloRecNo).text; } if (District(gloRecNo)) { txtDistrict.value = District(gloRecNo).text; } if (Taluk(gloRecNo)) { txtTaluk.value = Taluk(gloRecNo).text; } if (Lieu(gloRecNo)) { txtLieu.value = Lieu(gloRecNo).text; } } function MoveTo(direc) { if ((direc == "prev") && (gloRecNo > 0)) gloRecNo--; if ((direc == "next") && (gloRecNo < rootPhoto.childNodes.length-2)) gloRecNo++; changeVal(); } </script> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <BODY onload="LoadDoc()" BGCOLOR="#FFFFFF"> <div id="DOCCONTENT"> <p><font color="#000000" face="Times New Roman, Times, serif"><b>Etat <input type="hidden" name="dbid" value="1"> <input type="text" name="txtEtat" size="40"> </b></font></p> <p><font color="#000000" face="Times New Roman, Times, serif"><b>District <input type="text" name="txtDistrict" size="40"> </b></font></p> <p><font color="#000000" face="Times New Roman, Times, serif"><b>Taluk <input type="text" name="txtTaluk" size="40"> </b></font></p> <p><font color="#000000" face="Times New Roman, Times, serif"><b>Lieu <input type="text" name="txtLieu" size="40"> </b></font></p> <p><font color="#000000"> <input type="button" value="Previous" onClick="MoveTo('prev')" name="button"> <input type="text" name="txtPhotoCnt" readonly> <input type="button" value="Next" onClick="MoveTo('next')" name="button"> </font></p> </div> </body> </html> photo.xml <Import> <Row> <dbid>1</dbid> <Etat>Andhra Pradesh</Etat> <District>Anantapur</District> <Taluk>Madakasira</Taluk> <Lieu>Hemavati</Lieu> <Site>temple de Siva SiddheSvara</Site> <Emplacement>chapelle nord</Emplacement> <Dimensions>90 cm</Dimensions> <Date></Date> <Imagetype>pierre, stèle</Imagetype> <Bras>4 bras</Bras> <Droite>trident (?), épée (?)</Droite> <Gauche>Damaru, kapaala </Gauche> <Attitude>légèrement déhanché vers la gauche</Attitude> <Tenue>nu</Tenue> <Pieds>pieds nus</Pieds> <Coiffure>(coiffure indistincte)</Coiffure> <Divers>pas de guirlande, grands kuNDala, naaga visible sous la main inférieure gauche</Divers> <Chien>chien à sa gauche, se dressant en direction du kapaala </Chien> <Suivants>petit personnage décharné à sa droite, jambes écartées et pliées, bras le long du corps</Suivants> <Notes>8801-1</Notes> <Photono>8801_1</Photono> </Row> <Row> <dbid>2</dbid> <Etat>Andhra Pradesh</Etat> <District>Anantapur</District> <Taluk>Hindupur</Taluk> <Lieu>Lepakshi</Lieu> <Site>temple de Siva Viirabhadrasvaami</Site> <Emplacement>sur un pilier du NaTyamaNDapa, face au sud</Emplacement> <Dimensions></Dimensions> <Date></Date> <Imagetype>pierre, relief sur pilier de temple</Imagetype> <Bras>4 bras</Bras> <Droite>trident, épée</Droite> <Gauche>Damaru, kapaala + tête coupée</Gauche> <Attitude>déhanché vers la gauche</Attitude> <Tenue>nu</Tenue> <Pieds>pieds nus</Pieds> <Coiffure>cheveux hérissés en auréole</Coiffure> <Divers>guirlande de crânes, yajñopaviita, visage souriant</Divers> <Chien>chien à sa gauche, lèchant la tête coupée</Chien> <Suivants>pas de suivants</Suivants> <Notes>AP79</Notes> <Photono>AP79</Photono> </Row> <Row> <dbid>3</dbid> <Etat>Andhra Pradesh</Etat> <District>Anantapur</District> <Taluk>Hindupur</Taluk> <Lieu>Lepakshi</Lieu> <Site>temple de Siva Viirabhadrasvaami</Site> <Emplacement>au plafond du NaTyamaNDapa</Emplacement> <Dimensions></Dimensions> <Date></Date> <Imagetype>peinture</Imagetype> <Bras>8 bras</Bras> <Droite>?, long trident posé au sol, tête coupée, épée</Droite> <Gauche>Damaru, arc?, ?, kapaala</Gauche> <Attitude>déhanché vers la droite</Attitude> <Tenue>nu</Tenue> <Pieds>pieds nus</Pieds> <Coiffure>cheveux hérissés</Coiffure> <Divers>guirlande de crânes</Divers> <Chien>chien à sa droite</Chien> <Suivants>un dévot debout en añjali à sa droite</Suivants> <Notes>AP80</Notes> <Photono>AP80</Photono> </Row> <Row> <dbid>4</dbid> <Etat>Andhra Pradesh</Etat> <District>Anantapur</District> <Taluk>Hindupur</Taluk> <Lieu>Lepakshi</Lieu> <Site>temple de Siva Viirabhadrasvaami</Site> <Emplacement>à l'entrée du NaTayamaNDapa (à droite quand on entre)</Emplacement> <Dimensions></Dimensions> <Date></Date> <Imagetype>pierre, relief sur le mur</Imagetype> <Bras>4 bras</Bras> <Droite>Damaru, épée</Droite> <Gauche>naaga, kapaala (main levée)</Gauche> <Attitude>attitude dansante</Attitude> <Tenue>nu</Tenue> <Pieds>chaussé de sandales</Pieds> <Coiffure>cheveux hérissés</Coiffure> <Divers>pas de guirlande, ceinture de grelots (?)</Divers> <Chien>pas de chien</Chien> <Suivants>pas de suivants</Suivants> <Notes>en face, Mahishaasuramardinii (AP84bis) ; AP84</Notes> <Photono>AP84</Photono> </Row> </Import> photo.dtd <?xml version="1.0" encoding="UTF-8"?> <!ELEMENT Attitude (#PCDATA)> <!ELEMENT Bras (#PCDATA)> <!ELEMENT Chien (#PCDATA)> <!ELEMENT Coiffure (#PCDATA)> <!ELEMENT Date (#PCDATA)> <!ELEMENT Dimensions (#PCDATA)> <!ELEMENT District (#PCDATA)> <!ELEMENT Divers (#PCDATA)> <!ELEMENT Droite (#PCDATA)> <!ELEMENT Emplacement (#PCDATA)> <!ELEMENT Etat (#PCDATA)> <!ELEMENT Gauche (#PCDATA)> <!ELEMENT Imagetype (#PCDATA)> <!ELEMENT Import (Row+)> <!ELEMENT Lieu (#PCDATA)> <!ELEMENT Notes (#PCDATA)> <!ELEMENT Photono (#PCDATA)> <!ELEMENT Pieds (#PCDATA)> <!ELEMENT Row (dbid, Etat?, District?, Taluk?, Lieu?, Site?, Emplacement?, Dimensions?, Date?, Imagetype?, Bras?, Droite?, Gauche?, Attitude?, Tenue?, Pieds?, Coiffure?, Divers?, Chien?, Suivants?, Notes?, Photono)> <!ELEMENT Site (#PCDATA)> <!ELEMENT Suivants (#PCDATA)> <!ELEMENT Taluk (#PCDATA)> <!ELEMENT Tenue (#PCDATA)> <!ELEMENT dbid (#PCDATA)> S. Jyotinarayan ----- Original Message ----- From: "Peter Flynn" <peter@s...> To: "S. Jyotinarayan" <ncjyoti@y...>; "S. Jyotinarayan" <ncjyoti@y...>; "XML-INTEREST" <xml-interest@j...>; <xml-dev@l...> Sent: Friday, July 06, 2001 12:05 PM Subject: Re: Platform and browser compatibility > On Fri, 06 Jul 2001, S. Jyotinarayan wrote: > > > ---------------------------------------- > Content-Type: multipart/alternative; name="unnamed" > Content-Transfer-Encoding: 7bit > Content-Description: > ---------------------------------------- > > Try posting your query in the plaintext message-body of your > mail. > > The reason it doesn't work in Netscape 6 is possibly that you > need a CSS stylesheet for Netscape 6. > > ///Peter
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|