Index. XSL
<? XML version = "1.0" encoding = "UTF-8"?>
<XSL: stylesheetversion = "1.0"
Xmlns: XSL = "http://www.w3.org/1999/XSL/Transform">
<XSL: template match = "/">
<HTML>
<Head>
<Title> index </title>
</Head>
<Body>
<Div id = "head"> <XSL: copy-of select = "document ('head. XSL ')"/> </div>
<Div id = "mainbox"> <XSL: value-of select = "content"/> </div>
<Div id = "bottom"> <XSL: copy-of select = "document ('head. XSL ')"/> </div>
<Div> </div>
</Body>
</Html>
</XSL: Template>
</XSL: stylesheet>
Head. XSL
<? XML version = "1.0" encoding = "UTF-8"?>
<XSL: stylesheet version = "1.0" xmlns: XSL = "http://www.w3.org/1999/XSL/Transform">
<XSL: template match = "/">
Head
</XSL: Template>
</XSL: stylesheet>
Bottom. XSL
<? XML version = "1.0" encoding = "UTF-8"?>
<XSL: stylesheet version = "1.0" xmlns: XSL = "http://www.w3.org/1999/XSL/Transform">
<XSL: template match = "/">
Bottom
</XSL: Template>
</XSL: stylesheet>
Index. xml
<? XML version = "1.0" encoding = "UTF-8"?>
<? XML-stylesheet type = "text/XSL" href = "index. XSL"?>
<Content> body </content>