Yep, I got that. I've done quite a few XML and XSL but this one is a pain. With your xsl what I get in the browser is text "Student". Got rid of those ; too.
This is what my xml file looks like (just 1 student for demonstration purposes):
<?xml version="1.0"?>...
You got the idea! I'm kinda embarrassed to ask but is this what I put in the .xml?
<?xml version="1.0" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
<?xml-stylesheet type="text/xsl" href="students.xsl"?>
I...
Here it is. I really hope someone can help.
Cheers.
<?xml version = "1.0" ?>
<?xml-stylesheet type="text/"text/xsl" href="students.xsl"?>
<!DOCTYPE students [
<!ELEMENT students (student+)>
<!ELEMENT student (coursename,studentid,surname,name+)>...
I'll make it short and sweet, don't have much time!!
I have an XML file. I need to create an XSL file to create a table for each separate entity, listing each table separately. For example, I have several Students, each one has taken several classes. Each table should display the student and...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.