


















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Students of Communication, study E-Commerce as an auxiliary subject. these are the key points discussed in these Lecture Slides of E-Commerce : Extensible Stylesheet Language Transformations, Based Language, Content Format, Transforming, Document, Style Sheets, Prsentation, Side Technology, Capable, Internet Explorer
Typology: Slides
1 / 26
This page cannot be seen from the preview
Don't miss anything!



















Remember XML? This is a class about XML. Sample XML:
Hello,
world! And how it looks in IE 6:
,
, and the like allspecify visual formatting rules. ^ XSL allows us to define our own tags; just as means underline in HTML, we can make an tag of our own that will underlinethe XML content. ^ An XSL document defines a list of matchingsfrom a tag and its content to a templateexpansion of HTML (or other) text.The standard XML header is followed by the
stylesheet
tag:
... ^ The stylesheet lays out a series of
template
tags:
... ... ^ Within each template, the XSL specifies the rules ofreplacement. For example,
replaces all instances of the “underlined” tag with a bit ofHTML formatting--the tags--wrapped around the content.
As each node of the source XML is processed, its tag ismatched against the list of ’s in the XSL. The XSLprocessor searches for a tage whose
match
field
matches the XML tag name. If it finds one, it replaces theXML tag with the content specified in the body of the tag. match=“/”
will match the root node of the document.
^ The tag is XSL for “recurse within this tag”.When the XSL processor encounters this, it calls itself on thecontent within the current node.
Degree sought :
Birth
date
:^
,
Birth date :
July28, 1973
^ By specifying what to apply the template recursion to, we canactually
change the structure of the document
Here instead of mindlessly displaying the content inside the tag in the order it’s entered, we’re displaying it inthe order specified. We’re changing the actual tree structureof the XML document as we transform it.
^ This is handy for laying out tables or lists. For example, youcan open your tag and then fill in all the rows. ^ The
select
attribute of the
for-each
tag acts as a search.
You can specify the nodes you want to enumerate over, andthey’ll be processed in the order in which they appear. Youspecify the nodes with an XPath path. Again,
this can change the fundamental structure of the document