XML2 - (more powerful than CSS) <?xml-stylesheet type =

Info iconThis preview shows pages 1–7. Sign up to view the full content.

View Full Document Right Arrow Icon
DISPLAYING XML (HTML CSS XSL)
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Viewing XML through HTML ( XML data island: embedded) <XML ID = "xmlData”> <students> </students> </XML> <TABLE DATASRC = "#xmlData" > <TD><SPAN DATAFLD = "name"></SPAN></TD> student-embed.html
Background image of page 2
Viewing XML through HTML ( XML data island: linked) <XML ID = "xmlData" SRC = "student.xml"></XML> <TABLE DATASRC = "#xmlData" > <TD><SPAN DATAFLD = "name"></SPAN></TD> student-link.html
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Viewing XML using CSS <?xml-stylesheet type = "text/css" href ="student.css"?> student4.xml
Background image of page 4
Viewing XML using XSL XSL: eXtebsible Stylesheet Language
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 6
Background image of page 7
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: (more powerful than CSS) <?xml-stylesheet type = "text/xsl" href ="student.xsl"?> student5.xml XSL Styles are defined between <xsl:stylesheet> </xsl:stylesheet> XSL uses templates to translate XML into HTML <xsl:template match="/"> </xsl:template> XSL loop <xsl:for-each select = "students/student> XSL value selection <xsl:value-of select = "gpa"> student5.xsl student6.xsl XSLT XSL=> XSLT(XSL Transformation) XSL-FO(XSL Formatting Objects) XSLT uses templates to translate XML into HTML...
View Full Document

This note was uploaded on 02/22/2011 for the course DR.XIAO CS taught by Professor Cs307 during the Fall '00 term at The University of Akron.

Page1 / 7

XML2 - (more powerful than CSS) <?xml-stylesheet type =

This preview shows document pages 1 - 7. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online