Introductory Post + Question
Date: 03/22/06
(Javascript Community) Keywords: programming, browser, html, xml, java, microsoft
I'm writing a bit of Javascript (not quite a total newbie but gosh-darn close, though I have experience in other programming languages) to display some XML transformed by XSL. I've created the files to do this and if I use them seperately (sans Javascript), it displays just fine. And that's fine for browsers that have that capability and can handle that without issues, but I'd like to see if I couldn't increase its compatibility a bit by using (drum-roll) Javascript.
Here's the contents of the two files. All of the info is completely made up.
employees.xml contains:
MAIL,PHONE,EMPLOYEE_NUM,MARRIED)>
]>
EMPLOYEES
John
Rountree
213-13-1512
02-03-2006
jr@newbieworld.com
5556200922
00000128
No
Larry
Becker
252-43-1321
02-15-2003
lb@newbieworld.com
5556202435
00000025
Yes
Alison
Rountree
323-54-9992
11-07-2001
lr@newbieworld.com
5556204222
00000005
Yes
Catrina
Becker
442-22-9929
02-01-2006
jb@newbieworld.com
5556203432
00000123
Yes
Edward
Newbourne
123-45-6789
12-25-2004
en@newbieworld.com
5556204356
00000075
No
Dana
Newbourne
211-53-1212
02-03-2002
jn@newbieworld.com
5554350922
00000032
Yes
Cassandra
Porter
755-42-2312
07-25-2003
cp@newbieworld.com
5556201922
00000056
No
Pamela
Jackson
232-47-7568
04-32-2005
pj@newbieworld.com
5556208822
00000110
No
Jess
Tucker
213-56-8695
08-11-2004
jt@newbieworld.com
5556207882
00000100
No
Kimberly
Jones
987-99-1232
02-01-2006
kj@newbieworld.com
5556207892
00000124
Yes
employees.xsl contains:
And finally employees.html contains:
Newbie Incorporated Employee Roster
Don't be afraid to let the newbie have it. I'm trying to learn here, but I've been grinding my wheels on this one and I thought it worth asking about.
Source: http://community.livejournal.com/javascript/97239.html