Example of adding style sheets to XML

<?xml-stylesheet href=”default.css”?> <?xml-stylesheet href=”style1.css” title=”styleType1” type=”text/css”?>

Examples of proper syntax of stylesheets in XML

sports{    display:block; } game{     text-transform: uppercase;  &...

Example with XSLT and CSS styling using external styles

This example shows adding the stylesheet externally using <link> element. styleExternal.xml <?xml version="1.0" encoding=...

Example of XLink extended links

<?xml version=”1.0” encoding=”UTF-8”?> <earth xmlns:xlink=” http://www.w3.org/1999/xlink” xlink:type=”extended”...

Simple example with XLink attributes

<?xml version=”1.0”?> <earth xmlns:xlink=”http://www/w3/org/TR/xlink/”>     <country xlink: typ...

Example with multiple XLink attributes

<?xml version=”1.0”?> <cinema> <link xmlns:xlink =http://www/w3/ord/TR/xlink/ xlink:type=”extended”>

Example of XPointer framework

<?xml version=”1.0”?> <sports xmlns:xlink=”http://www/w3/org/TR/xlink/”>    <game xlink:type=”...

Examples of element() scheme

xlink:href = http://www.sportsdayevent.xml#element(/1/4)” This refers to the 4 child element inside root element. xlink:href = http://www.sportsdaye...

Example of xmlns() scheme

The example refers to namespace “xgm” and the further pointers are pointed to the id “football ” is within the namespace “xgm”. <?xml...

Example of xpointer() scheme

The example below points to the last player in data/team1/player <?xml version=”1.0”?> <sports xmlns:xlink=”http://www/w3/org/T...