XSL Question

waqas
06-18-2002, 11:32 PM
If anybody knows about this please do answer?
how can i display XML data in a HTML Table form using XSL....
for examplke my XML looks like this...

<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml:stylesheet type="text/xsl" href="intake1.xsl" ?>
<intake>
<SubjectName>Operating Systems</SubjectName>
<SubjectCode>OS</SubjectCode>
<SubjectName>DH</SubjectName>
<SubjectCode>Damansara Heights</SubjectCode>
<SubjectName>Business Economics 1</SubjectName>
<SubjectCode>BE1</SubjectCode>
<SubjectName>Orientation</SubjectName>
<SubjectCode>ORT</SubjectCode>
<campuscode>DH</campuscode>
<CampusName>Damansara Heights</CampusName>
</intake>

how will my XSL look like to show all the SubjectName node text in a table(html) ?

Bucky
06-19-2002, 06:47 AM
Read this XSL tutorial on W3Schools; it's just what you're looking for, and it's a great tutorial (they all seem to be on that website :) ).

http://www.w3schools.com/xsl/default.asp

waqas
06-19-2002, 11:05 AM
thanks Bucky.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum