Expression web xml tutorial
The displayed results below have been delivered from an xml file.
Please see this page for complete details.
Cheshire |
Region:
North Team:
1 ContactName:
Jill Address:
The edge Old Road Warrington Cheshire CH10 5KJ Tel: 0101 254563 Fax: 01012 3654778 EMail: Jackandjill@upthehill.com
|
Scotland |
Region:
North Team:
1 ContactName:
Jack Address:
The window ledge UPVC Aire Scotland SC44 5MV Tel: 0171 632541 Fax: EMail: Jackshouse@window.com
|
Cornwall |
Region:
South Team:
A ContactName:
Linda Address:
The Rooks Nest Road Lands End Cornwall TR33 5TR Tel: 01875 458745123 Fax: EMail:
|
Plymouth |
Region:
South Team:
B ContactName:
Joe Bloggs Address:
23 Meadow Road
Ivybridge Plymouth PL22 5rr Tel: 01752 55412563 Fax: 01752 78451236 EMail: Hello@myworld.com
|
Scotland |
Region:
North Team:
1 ContactName:
Fred Address:
123 Up the road A street near you Glasgow Scotland SC23 4RT Tel: 0171 111223 Fax: 0171 122331 EMail:
|
Liverpool |
Region:
North Team:
2 ContactName:
Jane Address:
321 Down the road A long way from you
Liverpool LP55 6TY Tel: 0123 456789 Fax: EMail: Jane@jane.com
|
Hampshire |
Region:
South Team:
A ContactName:
Barny Rubble Address:
21 Old Road With pot holes Winchester Hampshire HP75 6IL Tel: 0121 225544 Fax: EMail:
|
Cornwall |
Region:
South Team:
B ContactName:
Wilma Address:
Cave House Flint Stone Truro Cornwall TR22 6GF Tel: 01872 569874 Fax: 01872 55441122 EMail: wilma@freddy.com
|
Scotland |
Region:
North Team:
2 ContactName:
Jon Address:
The hollies Capstan Road Aberdeen Scotland SC52 2BN Tel: 0171 11224856 Fax: 0171 224789 EMail: Jon@jon.com
|
Whilst the xml display results look very impressive, we are only
actually scratching the surface with this very simple tutorial. It is
possible to extend this so much more from just our simple database
example. For instance, lets assume that we want a display icon for the
north and south regions. We could use conditional formatting to display
a graphic when the condition has been met.
Example below using the same xml data as above but
formatted differently.
North will have a blue arrow pointing up and south a red arrow
pointing down
| County | Warrington | | Region: | North | | Tea: | 1 | | Contact Name: | Jill 0101 254563 |
|
| County | Aire | | Region: | North | | Tea: | 1 | | Contact Name: | Jack 0171 632541 |
|
| County | Lands End | | Region: | South | | Tea: | A | | Contact Name: | Linda 01875 458745123 |
|
| County | Ivybridge | | Region: | South | | Tea: | B | | Contact Name: | Joe Bloggs 01752 55412563 |
|
| County | Glasgow | | Region: | North | | Tea: | 1 | | Contact Name: | Fred 0171 111223 |
|
| County | | | Region: | North | | Tea: | 2 | | Contact Name: | Jane 0123 456789 |
|
| County | Winchester | | Region: | South | | Tea: | A | | Contact Name: | Barny Rubble 0121 225544 |
|
| County | Truro | | Region: | South | | Tea: | B | | Contact Name: | Wilma 01872 569874 |
|
| County | Aberdeen | | Region: | North | | Tea: | 2 | | Contact Name: | Jon 0171 11224856 |
|