January 2002
Intermediate to advanced
480 pages
11h 5m
English
The last question in the “is it plugged in” test determines whether the style sheet is loading properly. Three items might prevent the style sheet from loading:
Improper <?xml-stylesheet> declaration in the source document
The style sheet is not well formed
The style sheet does not conform to the style-sheet schema
The first problem is easy to correct. The <?xml-stylesheet> declaration takes the following form:
<?xml-stylesheet type=”text/xsl” href=”myXMLDoc.xsl”?>
The most common problem is that the path to the .xsl file can’t be resolved. This typically happens when relative paths are used, when the source document is moved, or when the style sheet is moved.
Note
In Web server development, it’s common to have several ...
Read now
Unlock full access