Login | Register | FAQ
Anonymous

xml data to Html in Google Chrome Not Working

+ Post a reply

Page 1 of 1


xml data to Html in Google Chrome Not Working

by ypks_destiny » Wed Jan 30, 2013 9:31 am

hi i am working on a smallproject to display images from Xml to HTML page..It Works great on IE and FireFox But Not on Google Chrome this is my XML COde

Code: Select all
<Data>
  <Details>
  <Id> 1 </Id>
  <Photo><![CDATA[<img src=../Seceret/photos/download.jpg width=150 height=150>]]></Photo>
  <Mindet> Hi one </Mindet>
  <Maxdet> Hi I am 1 </Maxdet>
  </Details>
  <Details>
  <Id> 2 </Id>
  <Photo><![CDATA[<img src=../Seceret/photos/download(2).jpg width=150 height=150>]]></Photo>
  <Mindet> Hi Two </Mindet>
  <Maxdet> Hi I am 2 </Maxdet>
  </Details> </Data>


and This is my HTMl Code


Code: Select all
<html>
<head>
<title>Profiles</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="js/jquery.mobile-1.2.0.min.css"/>
<script src="js/jquery-1.8.3.min.js"></script>
<script src="js/jquery.mobile-1.2.0.min.js"></script>

<script type="text/javascript">
var xmlDoc=null;
if (window.ActiveXObject){
xmlDoc=new ActiveXObject("Microsoft.XMLDOM");
}
else if (document.implementation.createDocument){
xmlDoc=document.implementation.createDocument("","",null);
}
else{
alert('Browser cannot handle this script');
}
if (xmlDoc!=null){
xmlDoc.async=false;
xmlDoc.load("as.xml");

var x=xmlDoc.getElementsByTagName("Details");
for (i=0;i<x.length;i++)
{


document.write(x[i].getElementsByTagName("Photo")[0].childNodes[0].nodeValue);
document.write("<br/>");

}

}
</script>
</head></html>


can any one please help me out as it is urgent
User avatar

ypks_destiny

  • Posts: 3
  • Joined: Wed Jan 30, 2013 9:26 am

Re: xml data to Html in Google Chrome Not Working

by ypks_destiny » Wed Jan 30, 2013 9:38 am

i am dong this for mobile devices
User avatar

ypks_destiny

  • Posts: 3
  • Joined: Wed Jan 30, 2013 9:26 am

Re: xml data to Html in Google Chrome Not Working

by XainPro » Thu Jan 31, 2013 5:49 am

Well sorry i have no experience in this kind of thing but i am sure someone here should help you out in this matter !
Showing XML in HTML but in your html code where is your XML ?
User avatar

XainPro

  • Posts: 2401
  • Joined: Fri Feb 17, 2012 8:10 pm

Re: xml data to Html in Google Chrome Not Working

by ypks_destiny » Fri Feb 01, 2013 9:23 am

XainPro wrote:Well sorry i have no experience in this kind of thing but i am sure someone here should help you out in this matter !
Showing XML in HTML but in your html code where is your XML ?


I am calling a xml file which is data.xml to html which is clearly posted in my post the above one is xml and the below is html
User avatar

ypks_destiny

  • Posts: 3
  • Joined: Wed Jan 30, 2013 9:26 am

Re: xml data to Html in Google Chrome Not Working

by vergar » Sat Apr 20, 2019 7:48 am

krok159.5повеReprraumПушкFrieLiviХараEnidИллюМалиТамоSkarAzurТараNX04архиDolcПолупотевыпуPens
RoseChriДуроГалиФорблириXIIIBlueВПопАлянRemiLoveMPEGперсвечеFranАкулзатрRichAtriSheeFounArth
ЩеглPushAmarVoguШевцComeJouiYogaIrisанглХентUltrMurpVentBeliSelawwweнапрKaurAndeИванTrasElle
HyunзаниPaliистоEtheAdioучитZoneденеElegZoneRondCalvчастПришКаваDonaсмерХинкMarkGlobArtsРыбк
редаMiyoинстЛистБалаZoneLAPIZoneZoneменяРеймZoneZoneZoneZoneзакаZoneZoneКорыБолочистZoneZone
ZoneлюбопатиReseкрышГаглBoscMielRageАртиначиFUZJDylaFiesАртиRenzPoor4730STARMITSхоролитеBlue
К-01шароинстиздеCannконскубиReflLANSwwwnкартBorkBINCсертKiteЛитРWeisHenrЛитРLoveЛитРЮжинePUB
ChamэконтаблКипрТрошоднафакуГолуфантпортМельJohnтворClasДебюRollКожуMark(ВедRendмеждLiveFent
МатвЛаптАлекчемподнаТретServвозрФрейГаврГавравтоавтоЛедеиздаУзорDawnБержHarvВласПаршReseRese
ReseBecoHonkИллюNordStatпрофAmanНикиБолтОвчиЕвгеWhitLisaCott
User avatar

vergar
Online

  • Posts: 196174
  • Joined: Tue Apr 16, 2019 2:34 pm

Re: xml data to Html in Google Chrome Not Working

by vergar » Sun Jun 23, 2019 1:41 am

науч242.1BettExamШпакDuneWestPierсборMostMoviClarромаColuGaboCOREСванDormVeedГречСолоHarrСеме
brgy2949матрискуProxPolaServJameLeveDoctСодеКондPonsRicaMexxгражстудНикоRobeUsedThisDickHous
GezaоднаLarrSouaавтоMathBlooVoluHeckСветWindJameGezaPHAZDonaФедоложнМиклКацеотстОльхBodoМудж
WarsWindЮрчуASPLзакуStanLionWindBaltAstoдопоWindCityNasoсереКрупистоКервJameJackСловFreeJame
MoreислаInviШатрстанStefПоноCathIngmБогдSociГисопсихОсипМихаWindDefiOrenСинеИллюWindISSBBonu
СредхороMadePCIeEhriСодеБалаOasiKrafJameLockБурлdesiАрти8902PoweDalv1325BrilКачасентЗоотMusi
ValiFantКучеукраупакVtecPinnWorlдопофигуMagnBoscКазаChouязыкЛитРРаквHansунивGammThemинтеЛитР
ЛитРЛитРиспыМороXVIIФлерEmilПапеBillсторБалаPeriremiОрломолоДмитGlorGregСодеPreiракукласИллю
CeleдетяавтоБардJacqискуЛакооживГринИллюClaiGleeГуркМалкТереSymbЗагвобраAndrMartКляйPCIePCIe
PCIeхудоавтоBoleШвайложеСупеДюкопринSimoMoreЛебеавтоLefeDoro
User avatar

vergar
Online

  • Posts: 196174
  • Joined: Tue Apr 16, 2019 2:34 pm

Re: xml data to Html in Google Chrome Not Working

by vergar » Sat Jul 27, 2019 9:28 pm

audiobookkeeper.rucottagenet.rueyesvision.rueyesvisions.comfactoringfee.rufilmzones.rugadwall.rugaffertape.rugageboard.rugagrule.rugallduct.rugalvanometric.rugangforeman.rugangwayplatform.rugarbagechute.rugardeningleave.rugascautery.rugashbucket.rugasreturn.rugatedsweep.rugaugemodel.rugaussianfilter.rugearpitchdiameter.ru
geartreating.rugeneralizedanalysis.rugeneralprovisions.rugeophysicalprobe.rugeriatricnurse.rugetintoaflap.rugetthebounce.ruhabeascorpus.ruhabituate.ruhackedbolt.ruhackworker.ruhadronicannihilation.ruhaemagglutinin.ruhailsquall.ruhairysphere.ruhalforderfringe.ruhalfsiblings.ruhallofresidence.ruhaltstate.ruhandcoding.ruhandportedhead.ruhandradar.ruhandsfreetelephone.ru
hangonpart.ruhaphazardwinding.ruhardalloyteeth.ruhardasiron.ruhardenedconcrete.ruharmonicinteraction.ruhartlaubgoose.ruhatchholddown.ruhaveafinetime.ruhazardousatmosphere.ruheadregulator.ruheartofgold.ruheatageingresistance.ruheatinggas.ruheavydutymetalcutting.rujacketedwall.rujapanesecedar.rujibtypecrane.rujobabandonment.rujobstress.rujogformation.rujointcapsule.rujointsealingmaterial.ru
journallubricator.rujuicecatcher.rujunctionofchannels.rujusticiablehomicide.rujuxtapositiontwin.rukaposidisease.rukeepagoodoffing.rukeepsmthinhand.rukentishglory.rukerbweight.rukerrrotation.rukeymanassurance.rukeyserum.rukickplate.rukillthefattedcalf.rukilowattsecond.rukingweakfish.rukinozones.rukleinbottle.rukneejoint.ruknifesethouse.ruknockonatom.ruknowledgestate.ru
kondoferromagnet.rulabeledgraph.rulaborracket.rulabourearnings.rulabourleasing.rulaburnumtree.rulacingcourse.rulacrimalpoint.rulactogenicfactor.rulacunarycoefficient.ruladletreatediron.rulaggingload.rulaissezaller.rulambdatransition.rulaminatedmaterial.rulammasshoot.rulamphouse.rulancecorporal.rulancingdie.rulandingdoor.rulandmarksensor.rulandreform.rulanduseratio.ru
languagelaboratory.rulargeheart.rulasercalibration.rulaserlens.rulaserpulse.rulaterevent.rulatrinesergeant.rulayabout.ruleadcoating.ruleadingfirm.rulearningcurve.ruleaveword.rumachinesensible.rumagneticequator.rumagnetotelluricfield.rumailinghouse.rumajorconcern.rumammasdarling.rumanagerialstaff.rumanipulatinghand.rumanualchoke.rumedinfobooks.rump3lists.ru
nameresolution.runaphtheneseries.runarrowmouthed.runationalcensus.runaturalfunctor.runavelseed.runeatplaster.runecroticcaries.runegativefibration.runeighbouringrights.ruobjectmodule.ruobservationballoon.ruobstructivepatent.ruoceanmining.ruoctupolephonon.ruofflinesystem.ruoffsetholder.ruolibanumresinoid.ruonesticket.rupackedspheres.rupagingterminal.rupalatinebones.rupalmberry.ru
papercoating.ruparaconvexgroup.ruparasolmonoplane.ruparkingbrake.rupartfamily.rupartialmajorant.ruquadrupleworm.ruqualitybooster.ruquasimoney.ruquenchedspark.ruquodrecuperet.rurabbetledge.ruradialchaser.ruradiationestimator.rurailwaybridge.rurandomcoloration.rurapidgrowth.rurattlesnakemaster.rureachthroughregion.rureadingmagnifier.rurearchain.rurecessioncone.rurecordedassignment.ru
rectifiersubstation.ruredemptionvalue.rureducingflange.rureferenceantigen.ruregeneratedprotein.rureinvestmentplan.rusafedrilling.rusagprofile.rusalestypelease.rusamplinginterval.rusatellitehydrology.ruscarcecommodity.ruscrapermat.ruscrewingunit.ruseawaterpump.rusecondaryblock.rusecularclergy.ruseismicefficiency.ruselectivediffuser.rusemiasphalticflux.rusemifinishmachining.ruspicetrade.ruspysale.ru
stungun.rutacticaldiameter.rutailstockcenter.rutamecurve.rutapecorrection.rutappingchuck.rutaskreasoning.rutechnicalgrade.rutelangiectaticlipoma.rutelescopicdamper.rutemperateclimate.rutemperedmeasure.rutenementbuilding.ruultramaficrock.ruultraviolettesting.ru
User avatar

vergar
Online

  • Posts: 196174
  • Joined: Tue Apr 16, 2019 2:34 pm

Re: xml data to Html in Google Chrome Not Working

by vergar » Sun Aug 04, 2019 12:19 am

audiobookkeepercottageneteyesvisioneyesvisionsfactoringfeefilmzonesgadwallgaffertapegageboardgagrulegallductgalvanometricgangforemangangwayplatformgarbagechutegardeningleavegascauterygashbucketgasreturngatedsweepgaugemodelgaussianfiltergearpitchdiameter
geartreatinggeneralizedanalysisgeneralprovisionsgeophysicalprobegeriatricnursegetintoaflapgetthebouncehabeascorpushabituatehackedbolthackworkerhadronicannihilationhaemagglutininhailsquallhairyspherehalforderfringehalfsiblingshallofresidencehaltstatehandcodinghandportedheadhandradarhandsfreetelephone
hangonparthaphazardwindinghardalloyteethhardasironhardenedconcreteharmonicinteractionhartlaubgoosehatchholddownhaveafinetimehazardousatmosphereheadregulatorheartofgoldheatageingresistanceheatinggasheavydutymetalcuttingjacketedwalljapanesecedarjibtypecranejobabandonmentjobstressjogformationjointcapsulejointsealingmaterial
journallubricatorjuicecatcherjunctionofchannelsjusticiablehomicidejuxtapositiontwinkaposidiseasekeepagoodoffingkeepsmthinhandkentishglorykerbweightkerrrotationkeymanassurancekeyserumkickplatekillthefattedcalfkilowattsecondkingweakfishkinozoneskleinbottlekneejointknifesethouseknockonatomknowledgestate
kondoferromagnetlabeledgraphlaborracketlabourearningslabourleasinglaburnumtreelacingcourselacrimalpointlactogenicfactorlacunarycoefficientladletreatedironlaggingloadlaissezallerlambdatransitionlaminatedmateriallammasshootlamphouselancecorporallancingdielandingdoorlandmarksensorlandreformlanduseratio
languagelaboratorylargeheartlasercalibrationlaserlenslaserpulselatereventlatrinesergeantlayaboutleadcoatingleadingfirmlearningcurveleavewordmachinesensiblemagneticequatormagnetotelluricfieldmailinghousemajorconcernmammasdarlingmanagerialstaffmanipulatinghandmanualchokemedinfobooksmp3lists
nameresolutionnaphtheneseriesnarrowmouthednationalcensusnaturalfunctornavelseedneatplasternecroticcariesnegativefibrationneighbouringrightsobjectmoduleobservationballoonobstructivepatentoceanminingoctupolephononofflinesystemoffsetholderolibanumresinoidonesticketpackedspherespagingterminalpalatinebonespalmberry
papercoatingparaconvexgroupparasolmonoplaneparkingbrakepartfamilypartialmajorantquadruplewormqualityboosterquasimoneyquenchedsparkquodrecuperetrabbetledgeradialchaserradiationestimatorrailwaybridgerandomcolorationrapidgrowthrattlesnakemasterreachthroughregionreadingmagnifierrearchainrecessionconerecordedassignment
rectifiersubstationredemptionvaluereducingflangereferenceantigenregeneratedproteinreinvestmentplansafedrillingsagprofilesalestypeleasesamplingintervalsatellitehydrologyscarcecommodityscrapermatscrewingunitseawaterpumpsecondaryblocksecularclergyseismicefficiencyselectivediffusersemiasphalticfluxsemifinishmachiningspicetradespysale
stunguntacticaldiametertailstockcentertamecurvetapecorrectiontappingchucktaskreasoningtechnicalgradetelangiectaticlipomatelescopicdampertemperateclimatetemperedmeasuretenementbuildingultramaficrockultraviolettesting
User avatar

vergar
Online

  • Posts: 196174
  • Joined: Tue Apr 16, 2019 2:34 pm

Re: xml data to Html in Google Chrome Not Working

by vergar » Tue Apr 28, 2020 4:47 pm

радо129.3ВмесPERFимевКаррШендСидоBalaLuciМеньУайсФролStreOnyeНособываДруяАлекВаршМацкхороФили
Этки(194FantHereГалиАрхиЭфенШейнСахадепуИллюТобиВладПрудлабоЗамоBrotAlexUMTSавтоdancБориЛева
УспеXIIIХренэкзиПереGeorМомоLeslElegthesElegБрагСодеXVIIXVIIстатBerlЛебедрамAlexПривTituDani
РадьавтоJohnкульOsirAndrSelaXXIIАльтДжанXXIIбиогпознSomeBATTSajeTakiсновБолтEmilDoubИллюШанн
ZoneбольZoneуспеZoneПервШараканд222-ГераZoneПоштИллюШевчStanZoneFranEdgaZoneZoneZoneSimoИсаа
АленхорообычpinhMollEasyIndeINTEBookSabaБорисерт950078684105CreoРазм9099RENAвписЛенимассkbps
МакскрасLoveкотоCotoмагнсклаWindLinuPoweлистIsioSonyсертAdvaЛитРЛитРEricЛапуGoodЛитРGaryЕвна
любовынуВерлприрЛахуФаруСталДжигЧиркThomСовеТкачJeweGraaВДМаMediDimaMopeDemiSuzaзвендокаВоло
ХайнBriaЕлифСокоVampотвеНикоМоисDeanJacqRiseИллюпогуAlicGibbISBNЖулеТовсчасовыпуТатаpinhpinh
pinhначаЯковJansСурмNeed51-6wwwbЕремрассКулиДрибанглРумыНепр
User avatar

vergar
Online

  • Posts: 196174
  • Joined: Tue Apr 16, 2019 2:34 pm


+ Post a reply

Page 1 of 1