Article View: pl.comp.xml
Article #821PLEASE HELP WITH XML->XSL->WML
From: Unkown
Date: Tue, 06 Feb 2001 18:54
Date: Tue, 06 Feb 2001 18:54
282 lines
5456 bytes
5456 bytes
I have my xml which is listed below, but I can't figure out how I can do this: (in wml) There is a list of 100 jobs. I want to display jobs 1-4 on the first screen. When the user selects NEXT, it sends back to the ASP page, and then it will display 5-9 on the next screen. I know you have to do some arithmetic such as send back to the server in the url PageNumber=1 (which contains jobs 1-4), then the next time it would be PageNumber=2 (which would contain jobs 5-9). It has to do some calculation to show the ext 4 jobs. Please help. Thanks, Jeff <Jobs NumberOfJobs="3"> > > > > <RequestResult ErrCode="0">OK</RequestResult> > > > > <Job JobNumber="1"> > > > > <WO>0000000163</WO> > > > > <Contact>e </Contact> > > > > <Phone>416-289-6547 </Phone> > > > > <TerritoryNumber>EAST </TerritoryNumber> > > > > <AddressLines NumberOfLines="1"> > > > > <Address LineNumber="1">885 The East/West Mall </Address> > > > > </AddressLines> > > > > <DescriptionLines NumberOfLines="0"> > > > > </DescriptionLines> > > > > </Job> > > > > <Job JobNumber="2"> > > > > <WO>0000000139</WO> > > > > <Contact>ffff </Contact> > > > > <Phone>416-289-6547 </Phone> > > > > <TerritoryNumber>EAST </TerritoryNumber> > > > > <AddressLines NumberOfLines="1"> > > > > <Address LineNumber="1">885 The East/West Mall </Address> > > > > </AddressLines> > > > > <DescriptionLines NumberOfLines="10"> > > > > <Description LineNumber="1">This is a te t of the cust mer comme t > > 19951130 Job </Description> > > > > <Description LineNumber="2">for Jocelyn t Sewer-Matic Drain Ser ice > > 19951130 Watc </Description> > > > > <Description LineNumber="3">It appears t at you have t put the ate > > 19951130 Watc </Description> > > > > <Description LineNumber="4">on every lin that you wan to appea > > </Description> > > > > <Description LineNumber="5">other wise t e line will n t appear. > > 19951130 Test </Description> > > > > <Description LineNumber="6">XXX F b 01/96-Feb 1 /96 S/C > > </Description> > > > > <Description LineNumber="7">0000005689 M r 01/96-Feb 2 /97 S/C > > </Description> > > > > <Description LineNumber="8"> 1 M y 01/96-Apr 3 /97 S/C > > </Description> > > > > <Description LineNumber="9">EEE Jan 1/98-Dec 31/98 S/C > > </Description> > > > > <Description LineNumber="10">0000000002 Apr 1/98-Mar 31/03 S/C > > </Description> > > > > </DescriptionLines> > > > > </Job> > > > > <Job JobNumber="3"> > > > > <WO>0000000150</WO> > > > > <Contact>w </Contact> > > > > <Phone>416-289-6547 </Phone> > > > > <TerritoryNumber>EAST </TerritoryNumber> > > > > <AddressLines NumberOfLines="1"> > > > > <Address LineNumber="1">885 The East/West Mall </Address> > > > > </AddressLines> > > > > <DescriptionLines NumberOfLines="10"> > > > > <Description LineNumber="1">This is a te t of the cust mer comme t > > 19951130 Job </Description> > > > > <Description LineNumber="2">for Jocelyn t Sewer-Matic Drain Ser ice > > 19951130 Watc </Description> > > > > <Description LineNumber="3">It appears t at you have t put the ate > > 19951130 Watc </Description> > > > > <Description LineNumber="4">on every lin that you wan to appea > > </Description> > > > > <Description LineNumber="5">other wise t e line will n t appear. > > 19951130 Test </Description> > > > > <Description LineNumber="6">XXX F b 01/96-Feb 1 /96 S/C > > </Description> > > > > <Description LineNumber="7">0000005689 M r 01/96-Feb 2 /97 S/C > > </Description> > > > > <Description LineNumber="8"> 1 M y 01/96-Apr 3 /97 S/C > > </Description> > > > > <Description LineNumber="9">EEE Jan 1/98-Dec 31/98 S/C > > </Description> > > > > <Description LineNumber="10">0000000002 Apr 1/98-Mar 31/03 S/C > > </Description> > > > > </DescriptionLines> > > > > </Job> > > > > </Jobs> > >
Technical Details
Message-ID:
<fLXf6.70137$KP3.20199027@news3.rdc1.on.home.com>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!mat.uni.torun.pl!news.man.torun.pl!news.man.poznan.pl!news-fra1.dfn.de!news-lei1.dfn.de!news-nue1.dfn.de!uni-erlangen.de!newsfeeds.belnet.be!news.belnet.be!xfer13.netnews.com!netnews.com!cpk-news-hub1.bbnplanet.com!news.gtei.net!newshub2.home.com!news.home.com!news3.rdc1.on.home.com.POSTED!not-for-mailShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!mat.uni.torun.pl!news.man.torun.pl!news.man.poznan.pl!news-fra1.dfn.de!news-lei1.dfn.de!news-nue1.dfn.de!uni-erlangen.de!newsfeeds.belnet.be!news.belnet.be!xfer13.netnews.com!netnews.com!cpk-news-hub1.bbnplanet.com!news.gtei.net!newshub2.home.com!news.home.com!news3.rdc1.on.home.com.POSTED!not-for-mail From: "Unkown" <virusmn@hotmail.com> Newsgroups: comp.infosystems.www.authoring.stylesheets,comp.text.xml,fr.comp.text.xml,microsoft.public.inetexplorer.ie5beta.programming.xml,microsoft.public.xml,netscape.public.mozilla.layout.xslt,netscape.public.mozilla.xml,pl.comp.xml Subject: PLEASE HELP WITH XML->XSL->WML Lines: 285 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Message-ID: <fLXf6.70137$KP3.20199027@news3.rdc1.on.home.com> Date: Tue, 06 Feb 2001 18:54:03 GMT NNTP-Posting-Host: 24.68.87.242 X-Complaints-To: abuse@home.net X-Trace: news3.rdc1.on.home.com 981485643 24.68.87.242 (Tue, 06 Feb 2001 10:54:03 PST) NNTP-Posting-Date: Tue, 06 Feb 2001 10:54:03 PST Organization: Excite@Home - The Leader in Broadband http://home.com/faster MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit