mwdatapacket.xml

来自「Delphi XML & XPATH源代码」· XML 代码 · 共 324 行

XML
324
字号
<?xml version="1.0" standalone="yes"?>
<DATAPACKET Version="2.0">
   <METADATA>
      <FIELDS>
         <FIELD attrname="id" fieldtype="string" required="true" WIDTH="3" />

         <FIELD attrname="movie" fieldtype="nested">
            <FIELDS>
               <FIELD attrname="id" fieldtype="string" required="true" WIDTH="3" />

               <FIELD attrname="rating" fieldtype="string" required="true" WIDTH="5" />

               <FIELD attrname="logo-url" fieldtype="string" WIDTH="50" />

               <FIELD attrname="url" fieldtype="string" WIDTH="50" />

               <FIELD attrname="name" fieldtype="string" WIDTH="40" />

               <FIELD attrname="length" fieldtype="i4" />

               <FIELD attrname="director" fieldtype="string" WIDTH="30" />

               <FIELD attrname="synopsis" fieldtype="string" WIDTH="1000" />

               <FIELD attrname="star" fieldtype="nested">
                  <FIELDS>
                     <FIELD attrname="star" fieldtype="string" WIDTH="30" />
                  </FIELDS>

                  <PARAMS />
               </FIELD>
            </FIELDS>

            <PARAMS />
         </FIELD>

         <FIELD attrname="cinema" fieldtype="nested">
            <FIELDS>
               <FIELD attrname="id" fieldtype="string" required="true" WIDTH="3" />

               <FIELD attrname="name" fieldtype="string" required="true" WIDTH="30" />

               <FIELD attrname="phone" fieldtype="string" required="true" WIDTH="12" />

               <FIELD attrname="address" fieldtype="string" required="true" WIDTH="50" />

               <FIELD attrname="directions" fieldtype="string" WIDTH="1000" />

               <FIELD attrname="candy-bar" fieldtype="string" WIDTH="1" />

               <FIELD attrname="disabled-access" fieldtype="string" WIDTH="1" />

               <FIELD attrname="prices" fieldtype="nested">
                  <FIELDS>
                     <FIELD attrname="pid" fieldtype="string" required="true" WIDTH="5" />

                     <FIELD attrname="name" fieldtype="string" required="true" WIDTH="30" />

                     <FIELD attrname="period" fieldtype="string" required="true" WIDTH="30" />

                     <FIELD attrname="adult" fieldtype="r8" required="true" />

                     <FIELD attrname="child" fieldtype="r8" required="true" />

                     <FIELD attrname="discount" fieldtype="r8" />
                  </FIELDS>

                  <PARAMS />
               </FIELD>
            </FIELDS>

            <PARAMS />
         </FIELD>

         <FIELD attrname="screening" fieldtype="nested">
            <FIELDS>
               <FIELD attrname="movie-id" fieldtype="string" required="true" WIDTH="3" />

               <FIELD attrname="cinema-id" fieldtype="string" required="true" WIDTH="2" />

               <FIELD attrname="start-date" fieldtype="date" required="true" />

               <FIELD attrname="end-date" fieldtype="date" required="true" />

               <FIELD attrname="digital-sound" fieldtype="string" WIDTH="3" />

               <FIELD attrname="no-passes" fieldtype="string" WIDTH="1" />

               <FIELD attrname="sessions" fieldtype="nested">
                  <FIELDS>
                     <FIELD attrname="session" fieldtype="time" required="true" />

                     <FIELD attrname="price-id" fieldtype="string" required="true" WIDTH="5" />
                  </FIELDS>

                  <PARAMS />
               </FIELD>
            </FIELDS>

            <PARAMS />
         </FIELD>
      </FIELDS>

      <PARAMS />
   </METADATA>

   <ROWDATA>
      <ROW id="LR1">
         <movie>
            <ROWmovie id="LR1" rating="PG-13" logo-url="" url="" name="The Fellowship of the Ring" length="178" director="Peter Jackson" synopsis="An ancient Ring thought lost for centuries has been found, and 
             through a strange twist in fate has been given to a small Hobbit named 
             Frodo. When Gandalf discovers the Ring is in fact the One Ring of the 
             Dark Lord Sauron, Frodo must make an epic quest to the Cracks 
             of Doom in order to destroy it! However he does not go alone. He is 
             joined by Gandalf, Legolas the elf, Gimli the Dwarf, Aragorn, Boromir 
             and his three Hobbit friends Merry, Pippin and Samwise. Through mountains, 
             snow, darkness, forests, rivers and plains, facing evil and danger at 
             every corner the Fellowship of the Ring must go. Their quest to destroy 
             the One Ring is the only hope for the end of the Dark Lords reign!">
               <star>
                  <ROWstar star="Elijah Wood" />

                  <ROWstar star="Ian McKellen" />

                  <ROWstar star="Viggo Mortensen" />

                  <ROWstar star="Liv Tyler" />
               </star>
            </ROWmovie>

            <ROWmovie id="SW2" rating="PG" logo-url="http://images.amazon.com/images/P/B00003CXKT.01.MZ" url="http://www.starwars.com/episode-ii/" name="Star Wars - Attack of the Clones" length="143" director="George Lucas" synopsis="Jedi Knights Obi-Wan Kenobi and Anakin Skywalker discover there 
             is more than meets the eye behind an assassination attempt on Naboo 
             Senator Padm Amidala&amp;apos;s life. Meanwhile, a Sith Lord orchestrates events 
             between the forces of good and evil, all the while waiting to play the 
             final move that will ensure him control of the galaxy.">
               <star>
                  <ROWstar star="Ewan McGregor" />

                  <ROWstar star="Natalie Portman" />

                  <ROWstar star="Hayden Christensen" />

                  <ROWstar star="Christopher Lee" />
               </star>
            </ROWmovie>

            <ROWmovie id="ABM" rating="PG-13" logo-url="" url="" name="A Beautiful Mind" length="136" director="Ron Howard" synopsis="A biopic of the meteoric rise of John Forbes Nash Jr., a math 
             prodigy able to solve problems that baffled the greatest of minds. And how 
             he overcame years of suffering through schizophrenia to win the Nobel Prize.">
               <star>
                  <ROWstar star="Russell Crowe" />

                  <ROWstar star="Jennifer Connelly" />

                  <ROWstar star="Ed Harris" />

                  <ROWstar star="Christopher Plummer" />
               </star>
            </ROWmovie>

            <ROWmovie id="MIN" rating="PG-13" logo-url="" url="" name="Minority Report" length="145" director="Steven Spielberg" synopsis="Based on a Philip K. Dick short story, Minority Report is about 
             a cop in the future working in a division of the police department that 
             arrests killers before they commit the crimes courtesy of some future 
             viewing technology. Cruise&amp;apos;s character has the tables turned on him 
             when he is accused of a future crime and must find out what brought 
             it about and stop it before it can happen">
               <star>
                  <ROWstar star="Tom Cruise" />

                  <ROWstar star="Colin Farrell" />

                  <ROWstar star="Samantha Morton" />
               </star>
            </ROWmovie>

            <ROWmovie id="JN" rating="G" logo-url="" url="" name="Jimmy Neutron: Boy Genius" length="82" director="John A. Davis" synopsis="Jimmy Neutron is a boy genius and way ahead of his friends, but
             when it comes to being cool, he&amp;apos;s a little behind. All until one day when
             his parents, and parents all over Earth are kidnapped by aliens, it&amp;apos;s up 
             to him to lead all the children of the world to rescue their parents.">
               <star>
                  <ROWstar star="Debi Derryberry" />

                  <ROWstar star="Jeffrey Garcia" />
               </star>
            </ROWmovie>

            <ROWmovie id="MEM" rating="R" logo-url="" url="" name="Memento" length="113" director="Christopher Nolan" synopsis="Point blank in the head a man shoots another. In flashbacks, 
             each one earlier in time than what we&amp;apos;ve just seen, the two men&amp;apos;s 
             past unfolds. Leonard, as a result of a blow to the head during 
             an assault on his wife, has no short-term memory. He&amp;apos;s looking for 
             his wife&amp;apos;s killer, compensating for his disability by taking Polaroids, 
             annotating them, and tattooing important facts on his body. We meet 
             the loquacious Teddy and the seductive Natalie (a barmaid who promises 
             to help), and we glimpse Leonard&amp;apos;s wife through memories from before 
             the assault. Leonard also talks about Sammy Jankis, a man he knew with a
             similar condition. Has Leonard found the killer? Who&amp;apos;s manipulating whom?">
               <star>
                  <ROWstar star="Guy Pearce" />

                  <ROWstar star="Carrie-Anne Moss" />

                  <ROWstar star="Joe Pantoliano" />
               </star>
            </ROWmovie>
         </movie>

         <cinema>
            <ROWcinema id="MM" name="MovieMania" phone="555-123-4567" address="1234 Main St, Pleasantville" directions="From the town hall go west about a half mile" candy-bar="" disabled-access="">
               <prices>
                  <ROWprices pid="MMSTD" name="Standard" period="After 6pm" adult="6.5" child="4" discount="4" />

                  <ROWprices pid="MMMAT" name="Matinee" period="Before 6pm" adult="4" child="3" discount="3" />
               </prices>
            </ROWcinema>

            <ROWcinema id="CF" name="Cheap Flicks" phone="555-345-6789" address="4321 Back Street, Pleasantville" directions="Behind the SuperMart department store on Main St" candy-bar="" disabled-access="">
               <prices>
                  <ROWprices pid="CFSTD" name="Standard" period="All sessions" adult="1.5" child="1.5" />
               </prices>
            </ROWcinema>

            <ROWcinema id="OC" name="Oscar&amp;apos;s Cinema" phone="555-987-6543" address="1 Hollywood Blvd, Pleasantville" directions="" candy-bar="" disabled-access="">
               <prices>
                  <ROWprices pid="OCSTD" name="Standard" period="Before 4pm or after 6pm" adult="6.5" child="3.5" discount="4" />

                  <ROWprices pid="OCTWI" name="Twilight" period="From 4pm to 6pm" adult="4.5" child="3" discount="3" />
               </prices>
            </ROWcinema>
         </cinema>

         <screening>
            <ROWscreening movie-id="LR1" cinema-id="MM" start-date="20020823" end-date="20020829" digital-sound="Y" no-passes="">
               <sessions>
                  <ROWsessions session="11:45:00000" price-id="MMMAT" />

                  <ROWsessions session="14:25:00000" price-id="MMMAT" />

                  <ROWsessions session="19:00:00000" price-id="MMSTD" />

                  <ROWsessions session="21:40:00000" price-id="MMSTD" />
               </sessions>
            </ROWscreening>

            <ROWscreening movie-id="LR1" cinema-id="OC" start-date="20020823" end-date="20020829" digital-sound="Y" no-passes="">
               <sessions>
                  <ROWsessions session="14:30:00000" price-id="OCSTD" />

                  <ROWsessions session="16:30:00000" price-id="OCTWI" />

                  <ROWsessions session="19:00:00000" price-id="OCSTD" />

                  <ROWsessions session="21:30:00000" price-id="OCSTD" />
               </sessions>
            </ROWscreening>

            <ROWscreening movie-id="SW2" cinema-id="MM" start-date="20020823" end-date="20020829" digital-sound="THX" no-passes="">
               <sessions>
                  <ROWsessions session="10:00:00000" price-id="MMMAT" />

                  <ROWsessions session="12:30:00000" price-id="MMMAT" />

                  <ROWsessions session="15:00:00000" price-id="MMMAT" />

                  <ROWsessions session="18:30:00000" price-id="MMSTD" />

                  <ROWsessions session="21:00:00000" price-id="MMSTD" />
               </sessions>
            </ROWscreening>

            <ROWscreening movie-id="SW2" cinema-id="OC" start-date="20020823" end-date="20020829" digital-sound="THX" no-passes="">
               <sessions>
                  <ROWsessions session="11:30:00000" price-id="OCSTD" />

                  <ROWsessions session="14:00:00000" price-id="OCSTD" />

                  <ROWsessions session="16:30:00000" price-id="OCTWI" />

                  <ROWsessions session="19:00:00000" price-id="OCSTD" />

                  <ROWsessions session="21:30:00000" price-id="OCSTD" />
               </sessions>
            </ROWscreening>

            <ROWscreening movie-id="MEM" cinema-id="CF" start-date="20020823" end-date="20020829" digital-sound="" no-passes="">
               <sessions>
                  <ROWsessions session="19:00:00000" price-id="CFSTD" />

                  <ROWsessions session="21:30:00000" price-id="CFSTD" />
               </sessions>
            </ROWscreening>

            <ROWscreening movie-id="JN" cinema-id="MM" start-date="20020823" end-date="20020829" digital-sound="" no-passes="">
               <sessions>
                  <ROWsessions session="15:30:00000" price-id="MMMAT" />

                  <ROWsessions session="19:20:00000" price-id="MMSTD" />
               </sessions>
            </ROWscreening>

            <ROWscreening movie-id="JN" cinema-id="OC" start-date="20020823" end-date="20020829" digital-sound="" no-passes="">
               <sessions>
                  <ROWsessions session="16:20:00000" price-id="OCTWI" />

                  <ROWsessions session="18:50:00000" price-id="OCSTD" />
               </sessions>
            </ROWscreening>

            <ROWscreening movie-id="MIN" cinema-id="CF" start-date="20020823" end-date="20020829" digital-sound="" no-passes="">
               <sessions>
                  <ROWsessions session="20:00:00000" price-id="CFSTD" />
               </sessions>
            </ROWscreening>

            <ROWscreening movie-id="ABM" cinema-id="CF" start-date="20020823" end-date="20020829" digital-sound="" no-passes="">
               <sessions>
                  <ROWsessions session="17:00:00000" price-id="CFSTD" />
               </sessions>
            </ROWscreening>
         </screening>
      </ROW>
   </ROWDATA>
</DATAPACKET>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?