Article View: pl.comp.xml
Article #9890poprawność xmla
From: Mati
Date: Sun, 01 Jun 2008 00:34
Date: Sun, 01 Jun 2008 00:34
24 lines
1633 bytes
1633 bytes
Witam Dostałem porcje danych w xmlu, parsuje je phpem, mają one taką strukturę //---- <trip date="2008-06-03" period="6" catalog="SZ01" template=""> <flight airlineCode="ECA" airlineDesc="EURO CYPRIA" flightNr="ECA 271" fMCode="F"> <departure code="KRK" description="krak˘w"/> <destination code="RHO" description="RODOS"/> </flight> <price adult="2399.00" currency="PLN"/> <price child="1199.00" ageFrom="2" ageTo="11" currency="PLN"/> </trip> //---- i zastanawiam się czy poprawne jest wystąpienie dwa razy znacznika <price> mają oczywiście rózne parametry ale czy wogóle dopuszczalne jest wystąpienie dwa razy <price>? z góry dziękuje Pozdrawiam Mati
Technical Details
Message-ID:
<g1srld$p2g$1@news.interia.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!feed.news.interia.pl!not-for-mailShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!feed.news.interia.pl!not-for-mail From: "Mati" <noname@noname.pl> Newsgroups: pl.comp.xml Subject: poprawność xmla Date: Sun, 1 Jun 2008 02:34:36 +0200 Organization: INTERIA.PL S.A. Lines: 25 Message-ID: <g1srld$p2g$1@news.interia.pl> NNTP-Posting-Host: adcb185.neoplus.adsl.tpnet.pl Mime-Version: 1.0 X-Trace: news.interia.pl 1212281325 25680 79.184.27.185 (1 Jun 2008 00:48:45 GMT) X-Complaints-To: usenet@news.interia.pl NNTP-Posting-Date: Sun, 1 Jun 2008 00:48:45 +0000 (UTC) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-Antivirus-Status: Clean X-Newsreader: Microsoft Outlook Express 6.00.2900.3138 X-Antivirus: avast! (VPS 080531-1, 2008-05-31), Outbound message X-Priority: 3 X-Authenticated-User: usia103 % interia+pl X-MSMail-Priority: Normal Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit