suresh444rav Posted June 22, 2011 Share Posted June 22, 2011 Hi, I have a EDIXML format, i am unable to read the the data using PHP. Can anyone help me please to read the data from EDI XML file. The format is given below. <?xml version="1.0" encoding="iso-8859-1"?> <EdiTransmission><Interchange SegmentDelimiter="~" ElementDelimiter="*" SubElementDelimiter=":"><ISA ISA01="00" ISA02=" " ISA03="00" ISA04=" " ISA05="ZZ" ISA06="MEDDATA " ISA07="ZZ" ISA08="MEDDATA " ISA09="110619" ISA10="2328" ISA11="U" ISA12="00401" ISA13="034826234" ISA14="0" ISA15="P" ISA16=":"> <GS GS01="HB" GS02="MEDDATA" GS03="MEDDATA" GS04="20110619" GS05="232812" GS06="1" GS07="X" GS08="004010X092A1"><ST ST01="271" ST02="0001"> <BHT BHT01="0022" BHT02="11" BHT03="" BHT04="20110619" BHT05="2328" /> <HL HL01="1" HL02="" HL03="20" HL04="1"> <NM1 NM101="PR" NM102="2" NM103="HUMANA" NM104="" NM105="" NM106="" NM107="" NM108="PI" NM109="10100" /> <HL HL01="2" HL02="1" HL03="21" HL04="1"> <NM1 NM101="1P" NM102="2" NM103="" NM104="" NM105="" NM106="" NM107="" NM108="XX" NM109="1063541712" /> <HL HL01="3" HL02="2" HL03="22" HL04="0"><TRN TRN01="1" TRN02="791493679" TRN03="9MEDDATACO" /> <NM1 NM101="IL" NM102="1" NM103="BENARROCH" NM104="ALBERTO" NM105="S" NM106="" NM107="" NM108="MI" NM109="00126081401"> <REF REF01="6P" REF02="623213" REF03="ABK SOLUTIONS" /> <N3 N301="APT 2605" N302="21055 NE 37TH AVE" /> <N4 N401="AVENTURA" N402="FL" N403="331804092" /> <DMG DMG01="D8" DMG02="19690801" DMG03="M" /> <INS INS01="Y" INS02="18" /> <DTP DTP01="307" DTP02="D8" DTP03="20100801" /> <DTP DTP01="472" DTP02="D8" DTP03="20111206" /> <EB EB01="1" EB02="ECH" EB03="30" EB04="PS" EB05="100/70,D2500,OP0,OV30,10/35/55"> <MSG MSG01="FL SMALL GROUP NATIONAL POS -" /> <MSG MSG01="NATIONAL POS - OPENACCESS" /></EB> <EB EB01="F" EB02="" EB03="30" EB04="" EB05="MAX DEPENDENT AGE" EB06="" EB07="" EB08="" EB09="YY" EB10="26" /> <EB EB01="F" EB02="" EB03="30" EB04="" EB05="MAX STUDENT AGE" EB06="" EB07="" EB08="" EB09="YY" EB10="26" /> <EB EB01="1" EB02="" EB03="88" /> <EB EB01="B" EB02="" EB03="88" EB04="" EB05="RETAIL CARD LEVEL 1" EB06="" EB07="10.00" EB08="" EB09="" EB10="" EB11="" EB12="Y" /> <EB EB01="B" EB02="" EB03="88" EB04="" EB05="RETAIL CARD LEVEL 2" EB06="" EB07="35.00" EB08="" EB09="" EB10="" EB11="" EB12="Y" /><EB EB01="B" EB02="" EB03="88" EB04="" EB05="RETAIL CARD LEVEL 3" EB06="" EB07="55.00" EB08="" EB09="" EB10="" EB11="" EB12="Y" /><EB EB01="B" EB02="" EB03="88" EB04="" EB05="RETAIL CARD LEVEL 4" EB06="" EB07="" EB08=".25" EB09="" EB10="" EB11="" EB12="Y" /> <EB EB01="B" EB02="" EB03="88" EB04="" EB05="RETAIL CARD LEVEL 1" EB06="" EB07="10.00" EB08="" EB09="" EB10="" EB11="" EB12="N" /><EB EB01="B" EB02="" EB03="88" EB04="" EB05="RETAIL CARD LEVEL 2" EB06="" EB07="35.00" EB08="" EB09="" EB10="" EB11="" EB12="N" /><EB EB01="B" EB02="" EB03="88" EB04="" EB05="RETAIL CARD LEVEL 3" EB06="" EB07="55.00" EB08="" EB09="" EB10="" EB11="" EB12="N" /><EB EB01="B" EB02="" EB03="88" EB04="" EB05="RETAIL CARD LEVEL 4" EB06="" EB07="" EB08=".25" EB09="" EB10="" EB11="" EB12="N" /> <EB EB01="A" EB02="" EB03="88" EB04="" EB05="RETAIL CARD" EB06="" EB07="" EB08=".00" EB09="" EB10="" EB11="" EB12="Y" /> <EB EB01="A" EB02="" EB03="88" EB04="" EB05="RETAIL CARD" EB06="" EB07="" EB08=".30" EB09="" EB10="" EB11="" EB12="N" /> <EB EB01="G" EB02="IND" EB03="88" EB04="" EB05="RETAIL CARD LEVEL 1" EB06="23" EB07=".00" EB08="" EB09="" EB10="" EB11="" EB12="Y" /> <EB EB01="G" EB02="IND" EB03="88" EB04="" EB05="RETAIL CARD LEVEL 2" EB06="23" EB07=".00" EB08="" EB09="" EB10="" EB11="" EB12="Y" /> <EB EB01="G" EB02="IND" EB03="88" EB04="" EB05="RETAIL CARD LEVEL 3" EB06="23" EB07=".00" EB08="" EB09="" EB10="" EB11="" EB12="Y" /> <EB EB01="G" EB02="IND" EB03="88" EB04="" EB05="RETAIL CARD LEVEL 4" EB06="23" EB07="2500.00" EB08="" EB09="" EB10="" EB11="" EB12="Y" /> <EB EB01="G" EB02="IND" EB03="88" EB04="" EB05="RETAIL CARD LEVEL 1" EB06="23" EB07=".00" EB08="" EB09="" EB10="" EB11="" EB12="N" /> <EB EB01="G" EB02="IND" EB03="88" EB04="" EB05="RETAIL CARD LEVEL 2" EB06="23" EB07=".00" EB08="" EB09="" EB10="" EB11="" EB12="N" /> <EB EB01="G" EB02="IND" EB03="88" EB04="" EB05="RETAIL CARD LEVEL 3" EB06="23" EB07=".00" EB08="" EB09="" EB10="" EB11="" EB12="N" /> <EB EB01="G" EB02="IND" EB03="88" EB04="" EB05="RETAIL CARD LEVEL 4" EB06="23" EB07="2500.00" EB08="" EB09="" EB10="" EB11="" EB12="N" /> <EB EB01="F" EB02="" EB03="88" EB04="" EB05="RETAIL CARD" EB06="" EB07="" EB08="" EB09="QA" EB10="30.00" EB11="" EB12="Y" /> <EB EB01="B" EB02="" EB03="88" EB04="" EB05="MAIL ORDER LEVEL 1" EB06="" EB07="25.00" EB08="" EB09="" EB10="" EB11="" EB12="Y" /><EB EB01="B" EB02="" EB03="88" EB04="" EB05="MAIL ORDER LEVEL 2" EB06="" EB07="87.50" EB08="" EB09="" EB10="" EB11="" EB12="Y" /><EB EB01="B" EB02="" EB03="88" EB04="" EB05="MAIL ORDER LEVEL 3" EB06="" EB07="137.50" EB08="" EB09="" EB10="" EB11="" EB12="Y" /><EB EB01="B" EB02="" EB03="88" EB04="" EB05="MAIL ORDER LEVEL 4" EB06="" EB07="" EB08=".25" EB09="" EB10="" EB11="" EB12="Y" /> <EB EB01="A" EB02="" EB03="88" EB04="" EB05="MAIL ORDER" EB06="" EB07="" EB08=".00" EB09="" EB10="" EB11="" EB12="Y" /> <EB EB01="G" EB02="IND" EB03="88" EB04="" EB05="MAIL ORDER LEVEL 1" EB06="23" EB07=".00" EB08="" EB09="" EB10="" EB11="" EB12="Y" /> <EB EB01="G" EB02="IND" EB03="88" EB04="" EB05="MAIL ORDER LEVEL 2" EB06="23" EB07=".00" EB08="" EB09="" EB10="" EB11="" EB12="Y" /><EB EB01="G" EB02="IND" EB03="88" EB04="" EB05="MAIL ORDER LEVEL 3" EB06="23" EB07=".00" EB08="" EB09="" EB10="" EB11="" EB12="Y" /><EB EB01="G" EB02="IND" EB03="88" EB04="" EB05="MAIL ORDER LEVEL 4" EB06="23" EB07="2500.00" EB08="" EB09="" EB10="" EB11="" EB12="Y" /><EB EB01="F" EB02="" EB03="88" EB04="" EB05="MAIL ORDER" EB06="" EB07="" EB08="" EB09="QA" EB10="90.00" EB11="" EB12="Y" /><EB EB01="F" EB02="" EB03="88" EB04="" EB05="RETAIL CARD" EB06="" EB07="" EB08="" EB09="QA" EB10="30.00" EB11="" EB12="Y" /><EB EB01="F" EB02="" EB03="88" EB04="" EB05="MAIL ORDER" EB06="" EB07="" EB08="" EB09="QA" EB10="90.00" EB11="" EB12="Y" /><EB EB01="1" EB02="" EB03="98" /><EB EB01="C" EB02="IND" EB03="98" EB04="" EB05="" EB06="23" EB07="7500.00" EB08="" EB09="" EB10="" EB11="" EB12="N" /><EB EB01="B" EB02="" EB03="98" EB04="" EB05="LEVEL 1" EB06="" EB07="30.00" EB08="" EB09="" EB10="" EB11="" EB12="Y" /><EB EB01="B" EB02="" EB03="98" EB04="" EB05="LEVEL 2" EB06="" EB07="50.00" EB08="" EB09="" EB10="" EB11="" EB12="Y" /><EB EB01="A" EB02="" EB03="98" EB04="" EB05="" EB06="" EB07="" EB08=".00" EB09="" EB10="" EB11="" EB12="Y" /><EB EB01="A" EB02="" EB03="98" EB04="" EB05="" EB06="" EB07="" EB08=".30" EB09="" EB10="" EB11="" EB12="N" /><EB EB01="C" EB02="IND" EB03="98" EB04="" EB05="PREVENTIVE 18+" EB06="23" EB07="7500.00" EB08="" EB09="" EB10="" EB11="" EB12="N" /><EB EB01="B" EB02="" EB03="98" EB04="" EB05="PREVENTIVE 18+ LEVEL 1" EB06="" EB07="30.00" EB08="" EB09="" EB10="" EB11="" EB12="Y" /><EB EB01="B" EB02="" EB03="98" EB04="" EB05="PREVENTIVE 18+ LEVEL 2" EB06="" EB07="50.00" EB08="" EB09="" EB10="" EB11="" EB12="Y" /><EB EB01="A" EB02="" EB03="98" EB04="" EB05="PREVENTIVE 18+" EB06="" EB07="" EB08=".00" EB09="" EB10="" EB11="" EB12="Y" /><EB EB01="A" EB02="" EB03="98" EB04="" EB05="PREVENTIVE 18+" EB06="" EB07="" EB08=".30" EB09="" EB10="" EB11="" EB12="N" /><EB EB01="B" EB02="" EB03="98" EB04="" EB05="PREVENTIVE UP TO 18 LEVEL 1" EB06="" EB07="30.00" EB08="" EB09="" EB10="" EB11="" EB12="Y" /><EB EB01="B" EB02="" EB03="98" EB04="" EB05="PREVENTIVE UP TO 18 LEVEL 2" EB06="" EB07="50.00" EB08="" EB09="" EB10="" EB11="" EB12="Y" /><EB EB01="A" EB02="" EB03="98" EB04="" EB05="PREVENTIVE UP TO 18" EB06="" EB07="" EB08=".00" EB09="" EB10="" EB11="" EB12="Y" /><EB EB01="A" EB02="" EB03="98" EB04="" EB05="PREVENTIVE UP TO 18" EB06="" EB07="" EB08=".30" EB09="" EB10="" EB11="" EB12="N" /><EB EB01="V" EB02="" EB03="AL" /><EB EB01="1" EB02="" EB03="1" /><EB EB01="1" EB02="" EB03="86" /><EB EB01="A" EB02="" EB03="86" EB04="" EB05="PHYSICIAN SERVICES" EB06="" EB07="" EB08=".00" EB09="" EB10="" EB11="" EB12="Y" /><EB EB01="A" EB02="" EB03="86" EB04="" EB05="PHYSICIAN SERVICES" EB06="" EB07="" EB08=".00" EB09="" EB10="" EB11="" EB12="N" /><EB EB01="B" EB02="" EB03="86" EB04="" EB05="FACILITY" EB06="" EB07="150.00" EB08="" EB09="" EB10="" EB11="" EB12="Y" /><EB EB01="B" EB02="" EB03="86" EB04="" EB05="FACILITY" EB06="" EB07="150.00" EB08="" EB09="" EB10="" EB11="" EB12="N" /><EB EB01="A" EB02="" EB03="86" EB04="" EB05="FACILITY" EB06="" EB07="" EB08=".00" EB09="" EB10="" EB11="" EB12="Y" /><EB EB01="A" EB02="" EB03="86" EB04="" EB05="FACILITY" EB06="" EB07="" EB08=".00" EB09="" EB10="" EB11="" EB12="N" /><EB EB01="A" EB02="" EB03="86" EB04="" EB05="ANCILLARY SERVICES" EB06="" EB07="" EB08=".00" EB09="" EB10="" EB11="" EB12="Y" /><EB EB01="A" EB02="" EB03="86" EB04="" EB05="ANCILLARY SERVICES" EB06="" EB07="" EB08=".00" EB09="" EB10="" EB11="" EB12="N" /><EB EB01="1" EB02="" EB03="48" /><EB EB01="C" EB02="IND" EB03="48" EB04="" EB05="SERVICES" EB06="23" EB07="2500.00" EB08="" EB09="" EB10="" EB11="" EB12="Y" /><EB EB01="C" EB02="IND" EB03="48" EB04="" EB05="SERVICES" EB06="23" EB07="7500.00" EB08="" EB09="" EB10="" EB11="" EB12="N" /><EB EB01="A" EB02="" EB03="48" EB04="" EB05="SERVICES" EB06="" EB07="" EB08=".00" EB09="" EB10="" EB11="" EB12="Y" /><EB EB01="A" EB02="" EB03="48" EB04="" EB05="SERVICES" EB06="" EB07="" EB08=".30" EB09="" EB10="" EB11="" EB12="N" /><EB EB01="C" EB02="IND" EB03="48" EB04="" EB05="ROOM & BOARD" EB06="23" EB07="2500.00" EB08="" EB09="" EB10="" EB11="" EB12="Y" /><EB EB01="C" EB02="IND" EB03="48" EB04="" EB05="ROOM & BOARD" EB06="23" EB07="7500.00" EB08="" EB09="" EB10="" EB11="" EB12="N" /><EB EB01="A" EB02="" EB03="48" EB04="" EB05="ROOM & BOARD" EB06="" EB07="" EB08=".00" EB09="" EB10="" EB11="" EB12="Y" /><EB EB01="A" EB02="" EB03="48" EB04="" EB05="ROOM & BOARD" EB06="" EB07="" EB08=".30" EB09="" EB10="" EB11="" EB12="N" /><EB EB01="C" EB02="IND" EB03="48" EB04="" EB05="ANCILLARY SERVICES" EB06="23" EB07="2500.00" EB08="" EB09="" EB10="" EB11="" EB12="Y" /><EB EB01="C" EB02="IND" EB03="48" EB04="" EB05="ANCILLARY SERVICES" EB06="23" EB07="7500.00" EB08="" EB09="" EB10="" EB11="" EB12="N" /><EB EB01="A" EB02="" EB03="48" EB04="" EB05="ANCILLARY SERVICES" EB06="" EB07="" EB08=".00" EB09="" EB10="" EB11="" EB12="Y" /><EB EB01="A" EB02="" EB03="48" EB04="" EB05="ANCILLARY SERVICES" EB06="" EB07="" EB08=".30" EB09="" EB10="" EB11="" EB12="N" /><EB EB01="1" EB02="" EB03="35" /><EB EB01="C" EB02="IND" EB03="35" EB04="" EB05="ANESTHESIA UP TO 8" EB06="23" EB07="7500.00" EB08="" EB09="" EB10="" EB11="" EB12="N" /><EB EB01="B" EB02="" EB03="35" EB04="" EB05="ANESTHESIA UP TO 8 LEVEL 1" EB06="" EB07="30.00" EB08="" EB09="" EB10="" EB11="" EB12="Y" /><EB EB01="B" EB02="" EB03="35" EB04="" EB05="ANESTHESIA UP TO 8 LEVEL 2" EB06="" EB07="50.00" EB08="" EB09="" EB10="" EB11="" EB12="Y" /><EB EB01="A" EB02="" EB03="35" EB04="" EB05="ANESTHESIA UP TO 8" EB06="" EB07="" EB08=".00" EB09="" EB10="" EB11="" EB12="Y" /><EB EB01="A" EB02="" EB03="35" EB04="" EB05="ANESTHESIA UP TO 8" EB06="" EB07="" EB08=".30" EB09="" EB10="" EB11="" EB12="N" /><EB EB01="F" EB02="" EB03="30" EB04="" EB05="" EB06="32" EB07="9999999.00" EB08="" EB09="" EB10="" EB11="" EB12="Y" /><EB EB01="C" EB02="IND" EB03="30" EB04="" EB05="" EB06="23" EB07="2500.00" EB08="" EB09="" EB10="" EB11="" EB12="Y" /><EB EB01="C" EB02="IND" EB03="30" EB04="" EB05="" EB06="23" EB07="7500.00" EB08="" EB09="" EB10="" EB11="" EB12="N" /><EB EB01="C" EB02="FAM" EB03="30" EB04="" EB05="" EB06="23" EB07="5000.00" EB08="" EB09="" EB10="" EB11="" EB12="Y" /><EB EB01="C" EB02="FAM" EB03="30" EB04="" EB05="" EB06="23" EB07="15000.00" EB08="" EB09="" EB10="" EB11="" EB12="N" /><EB EB01="A" EB02="" EB03="30" EB04="" EB05="" EB06="" EB07="" EB08=".30" EB09="" EB10="" EB11="" EB12="N" /><EB EB01="A" EB02="" EB03="30" EB04="" EB05="" EB06="" EB07="" EB08=".00" EB09="" EB10="" EB11="" EB12="Y" /><EB EB01="G" EB02="IND" EB03="30" EB04="" EB05="" EB06="23" EB07=".00" EB08="" EB09="" EB10="" EB11="" EB12="Y" /><EB EB01="G" EB02="IND" EB03="30" EB04="" EB05="" EB06="23" EB07="2000.00" EB08="" EB09="" EB10="" EB11="" EB12="N" /><EB EB01="G" EB02="FAM" EB03="30" EB04="" EB05="" EB06="23" EB07=".00" EB08="" EB09="" EB10="" EB11="" EB12="Y" /><EB EB01="G" EB02="FAM" EB03="30" EB04="" EB05="" EB06="23" EB07="4000.00" EB08="" EB09="" EB10="" EB11="" EB12="N" /><EB EB01="1" EB02="" EB03="50" /><EB EB01="C" EB02="IND" EB03="50" EB04="" EB05="FACILITY SURGICAL CARE" EB06="23" EB07="2500.00" EB08="" EB09="" EB10="" EB11="" EB12="Y" /><EB EB01="C" EB02="IND" EB03="50" EB04="" EB05="FACILITY SURGICAL CARE" EB06="23" EB07="7500.00" EB08="" EB09="" EB10="" EB11="" EB12="N" /><EB EB01="A" EB02="" EB03="50" EB04="" EB05="FACILITY SURGICAL CARE" EB06="" EB07="" EB08=".00" EB09="" EB10="" EB11="" EB12="Y" /><EB EB01="A" EB02="" EB03="50" EB04="" EB05="FACILITY SURGICAL CARE" EB06="" EB07="" EB08=".30" EB09="" EB10="" EB11="" EB12="N" /><EB EB01="C" EB02="IND" EB03="50" EB04="" EB05="FACILITY NONSURGICAL CARE" EB06="23" EB07="2500.00" EB08="" EB09="" EB10="" EB11="" EB12="Y" /><EB EB01="C" EB02="IND" EB03="50" EB04="" EB05="FACILITY NONSURGICAL CARE" EB06="23" EB07="7500.00" EB08="" EB09="" EB10="" EB11="" EB12="N" /><EB EB01="A" EB02="" EB03="50" EB04="" EB05="FACILITY NONSURGICAL CARE" EB06="" EB07="" EB08=".00" EB09="" EB10="" EB11="" EB12="Y" /><EB EB01="A" EB02="" EB03="50" EB04="" EB05="FACILITY NONSURGICAL CARE" EB06="" EB07="" EB08=".30" EB09="" EB10="" EB11="" EB12="N" /><EB EB01="1" EB02="" EB03="33" /><EB EB01="C" EB02="IND" EB03="33" EB04="" EB05="SPINAL MANIPULATIONS" EB06="23" EB07="7500.00" EB08="" EB09="" EB10="" EB11="" EB12="N" /><EB EB01="A" EB02="" EB03="33" EB04="" EB05="SPINAL MANIPULATIONS" EB06="" EB07="" EB08=".00" EB09="" EB10="" EB11="" EB12="Y" /><EB EB01="A" EB02="" EB03="33" EB04="" EB05="SPINAL MANIPULATIONS" EB06="" EB07="" EB08=".30" EB09="" EB10="" EB11="" EB12="N" /><EB EB01="B" EB02="" EB03="33" EB04="" EB05="SPINAL MANIPULATIONS" EB06="" EB07="50.00" EB08="" EB09="" EB10="" EB11="" EB12="Y" /><EB EB01="F" EB02="" EB03="33" EB04="" EB05="SPINAL MANIPULATIONS" EB06="" EB07="" EB08="" EB09="VS" EB10="20.00" EB11="" EB12="Y" /><EB EB01="C" EB02="FAM" EB03="30" EB04="" EB05="" EB06="24" EB07="0.00" EB08="" EB09="" EB10="" EB11="" EB12="N" /><EB EB01="C" EB02="FAM" EB03="30" EB04="" EB05="" EB06="29" EB07="15000.00" EB08="" EB09="" EB10="" EB11="" EB12="N" /><EB EB01="G" EB02="FAM" EB03="30" EB04="" EB05="" EB06="24" EB07="0.00" EB08="" EB09="" EB10="" EB11="" EB12="N" /><EB EB01="G" EB02="FAM" EB03="30" EB04="" EB05="" EB06="29" EB07="4000.00" EB08="" EB09="" EB10="" EB11="" EB12="N" /><EB EB01="C" EB02="FAM" EB03="30" EB04="" EB05="" EB06="24" EB07="0.00" EB08="" EB09="" EB10="" EB11="" EB12="Y" /><EB EB01="C" EB02="FAM" EB03="30" EB04="" EB05="" EB06="29" EB07="5000.00" EB08="" EB09="" EB10="" EB11="" EB12="Y" /><EB EB01="G" EB02="FAM" EB03="30" EB04="" EB05="" EB06="24" EB07="0.00" EB08="" EB09="" EB10="" EB11="" EB12="Y" /><EB EB01="G" EB02="FAM" EB03="30" EB04="" EB05="" EB06="29" EB07="0" EB08="" EB09="" EB10="" EB11="" EB12="Y" /><EB EB01="C" EB02="IND" EB03="30" EB04="" EB05="" EB06="24" EB07="0.00" EB08="" EB09="" EB10="" EB11="" EB12="N" /><EB EB01="C" EB02="IND" EB03="30" EB04="" EB05="" EB06="29" EB07="7500.00" EB08="" EB09="" EB10="" EB11="" EB12="N" /><EB EB01="G" EB02="IND" EB03="30" EB04="" EB05="" EB06="24" EB07="0.00" EB08="" EB09="" EB10="" EB11="" EB12="N" /><EB EB01="G" EB02="IND" EB03="30" EB04="" EB05="" EB06="29" EB07="2000.00" EB08="" EB09="" EB10="" EB11="" EB12="N" /><EB EB01="C" EB02="IND" EB03="30" EB04="" EB05="" EB06="24" EB07="0.00" EB08="" EB09="" EB10="" EB11="" EB12="Y" /><EB EB01="C" EB02="IND" EB03="30" EB04="" EB05="" EB06="29" EB07="2500.00" EB08="" EB09="" EB10="" EB11="" EB12="Y" /><EB EB01="G" EB02="IND" EB03="30" EB04="" EB05="" EB06="24" EB07="0.00" EB08="" EB09="" EB10="" EB11="" EB12="Y" /><EB EB01="G" EB02="IND" EB03="30" EB04="" EB05="" EB06="29" EB07="0" EB08="" EB09="" EB10="" EB11="" EB12="Y" /><EB EB01="P"><MSG MSG01="THIS IS ONLY AN ESTIMATION OF BENEFITS, & ALL PAYMENTS ARE SUBJECT TO POLICY GUIDELINES, MEDICAL NECESSITY, & MEMBER ELIGIBILITY AT THE TIME SERVICES ARE PERFORMED." /></EB></NM1></HL></HL></HL><SE SE01="143" SE02="0001" /></ST><GE GE01="1" GE02="1" /></GS><IEA IEA01="1" IEA02="034826234" /></ISA></Interchange></EdiTransmission> Thanks Suresh Sharma KP: Added tags Quote Link to comment https://forums.phpfreaks.com/topic/240070-read-edixml-in-php/ Share on other sites More sharing options...
kenrbnsn Posted June 22, 2011 Share Posted June 22, 2011 What do you mean by " i am unable to read the the data using PHP"? What have you tried? Do you get errors? Please post your code between tags. Ken Quote Link to comment https://forums.phpfreaks.com/topic/240070-read-edixml-in-php/#findComment-1233165 Share on other sites More sharing options...
suresh444rav Posted June 22, 2011 Author Share Posted June 22, 2011 Hi ken, Sorry, actually i am unable to get the process, how to read EDI data in PHP. Thanks, Suresh Quote Link to comment https://forums.phpfreaks.com/topic/240070-read-edixml-in-php/#findComment-1233172 Share on other sites More sharing options...
TeNDoLLA Posted June 22, 2011 Share Posted June 22, 2011 I am pretty sure you could manipulate it with PHP's DOMDocument class. Here is the manual: http://php.net/manual/en/class.domdocument.php . Quote Link to comment https://forums.phpfreaks.com/topic/240070-read-edixml-in-php/#findComment-1233176 Share on other sites More sharing options...
kenrbnsn Posted June 22, 2011 Share Posted June 22, 2011 Take a look at simplexml Ken Quote Link to comment https://forums.phpfreaks.com/topic/240070-read-edixml-in-php/#findComment-1233178 Share on other sites More sharing options...
TeNDoLLA Posted June 22, 2011 Share Posted June 22, 2011 Indeed simplexml is easier to use and good to go if you only need to read the data. DOMDocument is better if you need to manipulate also the data. Quote Link to comment https://forums.phpfreaks.com/topic/240070-read-edixml-in-php/#findComment-1233183 Share on other sites More sharing options...
silkfire Posted June 22, 2011 Share Posted June 22, 2011 Or is the problem you don't know how to interpret EDI? Quote Link to comment https://forums.phpfreaks.com/topic/240070-read-edixml-in-php/#findComment-1233186 Share on other sites More sharing options...
suresh444rav Posted June 22, 2011 Author Share Posted June 22, 2011 Hi Ken, TeNDoLLA, silkfire Thanks to all, i have used DOMDocument class, now i am able to manuplate the EDI data. Suresh Quote Link to comment https://forums.phpfreaks.com/topic/240070-read-edixml-in-php/#findComment-1233322 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.