Expression Web help

Join our community

Visit our Expression Web Forum

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

CountyWarrington
Region:North
Tea:1
Contact Name:Jill 0101 254563
CountyAire
Region:North
Tea:1
Contact Name:Jack 0171 632541
CountyLands End
Region:South
Tea:A
Contact Name:Linda 01875 458745123
CountyIvybridge
Region:South
Tea:B
Contact Name:Joe Bloggs 01752 55412563
CountyGlasgow
Region:North
Tea:1
Contact Name:Fred 0171 111223
County
Region:North
Tea:2
Contact Name:Jane 0123 456789
CountyWinchester
Region:South
Tea:A
Contact Name:Barny Rubble 0121 225544
CountyTruro
Region:South
Tea:B
Contact Name:Wilma 01872 569874
CountyAberdeen
Region:North
Tea:2
Contact Name:Jon 0171 11224856

RSS Icon  RSS

Add RSS to Yahoo

Add to Google

Reader not listed? Click here for more options

Expression Web Help RSS
Expression Web Help. Tips and Tricks and tutorials Get our feed now

My status