The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.
|
 |
|
Dev Shed Forums
> Programming Languages - More
> XML Programming
|
Next, Previous, First, Last Function
Discuss Next, Previous, First, Last Function in the XML Programming forum on Dev Shed. Next, Previous, First, Last Function XML Programming forum discussing XML and related technologies, including XUL and XSL. XML is a self-describing file format, designed for maximum compatibility between applications.
|
|
 |
|
|
|
|

Dev Shed Forums Sponsor:
|
|
|

September 22nd, 2011, 09:53 PM
|
|
Registered User
|
|
Join Date: Sep 2011
Posts: 1
Time spent in forums: 34 m 17 sec
Reputation Power: 0
|
|
|
Next, Previous, First, Last Function
Good Day!
I have really a hard time finding some instructions on how to make a code for next, previous, first, Last function one by one of the images.
here is my xml code
Code:
propertyList date="2011-08-30-15:02:54" username="console" password="C0ns0l3" type="">
<rental modTime="2011-08-30-15:02:54" status="current">
<agentID>triplel-test</agentID>
<uniqueID>2</uniqueID>
<listingAgent>
<name>awts</name>
<telephone type="BH">awts</telephone>
<email>awts</email>
</listingAgent>
<dateAvailable>2011-09-15T00:00:00</dateAvailable>
<rent display="yes" period="weekly">230</rent>
<energyRating>0.0</energyRating>
<bond>460</bond>
<address display="no">
<streetNumber>22 </streetNumber>
<street>Perth Street</street>
<suburb>Oamaru</suburb>
<state/>
<postcode>9401</postcode>
<country>Australia</country>
</address>
<category name="House"/>
<headline>Get the sun all day!</headline>
<description><![CDATA[<font>All day sun, large section, fully fenced<br> 2 Bedrooms with an office space.</font>]]></description>
<features>
<bedrooms>2</bedrooms>
<bathrooms>1</bathrooms>
<garages>1</garages>
</features>
<holiday value="no"/>
<images>
<img id="a" modTime="2011-08-30-15:02:54" file="awts/p2i4.jpg"/>
<img id="b" modTime="2011-08-30-15:02:54" file="awts/p2i5.jpg"/>
<img id="c" modTime="2011-08-30-15:02:54" file="awts/p2i6.jpg"/>
<img id="d" modTime="2011-08-30-15:02:54" file="awts/p2i7.jpg"/>
<img id="e"/>
<img id="f"/>
<img id="g"/>
<img id="h"/>
<img id="i"/>
<img id="j"/>
<img id="k"/>
<img id="l"/>
<img id="m" modTime="2011-08-30-15:02:54" file="awts/p2i3.jpg"/>
<img id="n"/>
<img id="o"/>
<img id="p"/>
<img id="q"/>
<img id="r"/>
<img id="s"/>
<img id="t"/>
<img id="u"/>
<img id="v"/>
<img id="w"/>
<img id="x"/>
<img id="y"/>
<img id="z"/>
</images>
<objects/>
</rental>
<rental modTime="2011-08-30-15:02:54" status="current">
<agentID>triplel-test</agentID>
<uniqueID>2</uniqueID>
<listingAgent>
<name>awts</name>
<telephone type="BH">awts</telephone>
<email>awts</email>
</listingAgent>
<dateAvailable>2011-09-15T00:00:00</dateAvailable>
<rent display="yes" period="weekly">230</rent>
<energyRating>0.0</energyRating>
<bond>460</bond>
<address display="yes">
<streetNumber>22 </streetNumber>
<street>Perth Street</street>
<suburb>Oamaru</suburb>
<state/>
<postcode>9401</postcode>
<country>Australia</country>
</address>
<category name="House"/>
<headline>Get the sun all day!</headline>
<description><![CDATA[<font>All day sun, large section, fully fenced<br> 2 Bedrooms with an office space.</font>]]></description>
<features>
<bedrooms>2</bedrooms>
<bathrooms>1</bathrooms>
<garages>1</garages>
</features>
<holiday value="no"/>
<images>
<img id="a" modTime="2011-08-30-15:02:54" file="awts/p2i4.jpg"/>
<img id="b" modTime="2011-08-30-15:02:54" file="awts/p2i5.jpg"/>
<img id="c" modTime="2011-08-30-15:02:54" file="awts/p2i6.jpg"/>
<img id="d" modTime="2011-08-30-15:02:54" file="awts/p2i7.jpg"/>
<img id="e"/>
<img id="f"/>
<img id="g"/>
<img id="h"/>
<img id="i"/>
<img id="j"/>
<img id="k"/>
<img id="l"/>
<img id="m" modTime="2011-08-30-15:02:54" file="awts/p2i3.jpg"/>
<img id="n"/>
<img id="o"/>
<img id="p"/>
<img id="q"/>
<img id="r"/>
<img id="s"/>
<img id="t"/>
<img id="u"/>
<img id="v"/>
<img id="w"/>
<img id="x"/>
<img id="y"/>
<img id="z"/>
</images>
<objects/>
</rental>
If anyone can help me on this. Thanks in advance!
|

September 23rd, 2011, 11:05 AM
|
 |
Still alive
|
|
Join Date: Mar 2007
Location: Washington, USA
|
|
Quote: | Originally Posted by babynaamaw I have really a hard time finding some instructions on how to make a code for next, previous, first, Last function one by one of the images. |
Those would not go in the XML. They would be created by whatever is reading the XML and outputting stuff.
Also, usernames are fine, but why would you want to include the password in there too?
|
Developer Shed Advertisers and Affiliates
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
|