Changes

Jump to: navigation, search

XSL Template

306 bytes added, 21:38, 19 December 2016
no edit summary
<table class="wikitable"><tr><td style="padding: 10px;"><big>This page has been deprecated</big></td><td style="padding: 10px;">See [[Custom Field Type: Special - XML Data]]</td></tr></table>
 
==Overview==
 
The ''XSL Template'' setting on an {{XML}} works in conjunction with the [[XML Section Builder]] to define how the XML worksheet is displayed.
''XSL'' stands for ''Extensible Stylesheet Language''.
==XSL Template Field Illustrated==[[Image:SampleXSLTemplate.png|link=|500px650px]]
''XSL'' stands for ''Extensible Stylesheet Language''.
==Example Template==
An example of an [[Accessibility_legislation|Accessible]] XSL Template would be as follows:
<pre style="white-space: pre-wrap;
white-space: -pre-wrap;
white-space: -o-pre-wrap;
word-wrap: break-word;"><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml">
<!DOCTYPE HTML PUBLIC"-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
 
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 <title>Worksheet TitleXML worksheet title</title> 
<style type="text/css">
...define your styles here...
[[Image:SampleXSLTemplateDisplay.png|link=|500px]]
 
==See Also==
* {{XML}}
* [[Adding Styles to XML Worksheets]]
  * [[Category:XMLAccessibility_legislation]]
Smartstaff, administrator
3,321
edits

Navigation menu