Date: Fri, 3 Apr 2009 12:07:52 -0400
Reply-To: Chang Chung <chang_y_chung@HOTMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Chang Chung <chang_y_chung@HOTMAIL.COM>
Subject: Re: Help with data entry
On Thu, 2 Apr 2009 20:46:01 -0700, SAS Illiterate <sasgeek009@GMAIL.COM>
wrote:
>I need some help creating 3 datasets from the datalines statement.
>
>I need 3 different datasets:
>1. Dataset containing City and State
>2. Dataset containing Theater name, Address and City
>3. Dataset Containing Movie name, theater name and Start Time.
...
hi,
the input data seems too clean to be real. This question smells like a
homework. if you want to learn, then try to read this :-)
cheers,
chang
-----------------------------------------------------------------
<?xml version="1.0" encoding="windows-1252" ?>
<cities>
<city state="AL">Tuscaloosa
<theater location="Skyland Pkwy">Cobb 16
<movie>Last House on the Left
<time ampm="pm">1:00</time>
<time ampm="pm">4:00</time>
<time ampm="pm">7:00</time>
</movie>
<movie>Slumdog Millionaire
<time ampm="pm">1:00</time>
<time ampm="pm">4:00</time>
<time ampm="pm">7:00</time>
</movie>
<movie>Paul Blart Mall Cop
<time ampm="pm">1:30</time>
<time ampm="pm">4:00</time>
</movie>
</theater>
</city>
<city state="GA">Atlanta
<theater location="Midtown Plaza">Foxx Theaters
<movie>Last House on the Left
<time ampm="pm">1:00</time>
<time ampm="pm">4:00</time>
</movie>
<movie>Pal Blart Mall Cop
<time ampm="pm">1:30</time>
</movie>
</theater>
<theater location="Westlake Mall">WestLake Movies
<movie>He's Just Not That Into You
<time ampm="pm">4:00</time>
<time ampm="pm">6:00</time>
</movie>
</theater>
</city>
</cities>
-----------------------------------------------------------------
|