XML Samples
XML file unformatted
sample file
XML file formatted with CSS
address book
XML file queried with XPath and formatted with XSL
You'll need IE 6.0 (or IE 5.5 with MSXML 3.0 plug-in) to view this
phone list
HTML file created on-the-fly from XML & XSL
This file is generated for browsers that do not support XSL
phone list (html) (coming soon)
Browser Detection with JavaScript
Automatically sends appropriate file to detected browser
phone list (coming soon)
View the XSL code
Very terse and powerful, check this out:
query & format code
About XML Query:
Currentluy unsupported at the browser level, this new standard, while more verbose, should prove to
be useful for us SQL aficionados.
About well-formed documents:
Refering to any tagged markup structure, "well-formed" simply means
tidy and strict adherance to a few rules: nest and close all tags,
attributes must use quotes, and tag names must be compliant.
This is what makes HTML into XHTML. All XML related formats, such as
XSL, XPath, XPointer, XML Query, etc. must always be well-formed.
Two notable exceptions are DTD and CSS which use different syntaxes.
About Validation, two methods:
DTD
Schema
Sample: XML to WML (wireless ML) coming soon
copyright © 2006
|