Developer’s Guide

Table Of Contents
10-14 Developer’s Guide
ERRORCODE, DATABASE, LAYOUT, Picture
{
visibility: hidden;
}
/*
* Since it is not possible to add additional text to the output
* of the XML document via CSS, we must rely on the XML document to
* provide the labels when displaying the eld data. In this case,
* the labels are from global elds dened in the database.
*/
Name_Label
{
position: absolute;
left: 20px;
top: 20px;
width: 150px;
text-align: right;
font-weight: bold;
}
Title_Label
{
position: absolute;
left: 20px;
top: 40px;
width: 150px;
text-align: right;
font-weight: bold;
}
Phone_Label
{
position: absolute;
left: 20px;
top: 60px;
width: 150px;
text-align: right;
font-weight: bold;
}
/*
* The following styles are applied to the actual eld data.
*/
Name
{
position: absolute;
left: 180px;
top: 20px;
}
Title
{
position: absolute;
left: 180px;
top: 40px;
}
Phone
{
position: absolute;
left: 180px;
top: 60px;
}
Extensible Stylesheet Language–Transformations (XSLT)
example
Extensible Stylesheet Language–Transformations (XSLT) is a
language for transforming XML documents into other XML
documents. XSLT is part of the overall XSL specification, which
also includes an XML vocabulary for formatting the transformed
XML document (such as applying text styles).
This example demonstrates the use of an XSL document with an
XML document. The following CGI command was used to generate
the FMPDSORESULT grammar for the People.fp5 database and to
apply the People_form.xsl stylesheet to the generated XML data:
fmpro?–db=people.fp5&–lay=xml form&–format=dso_xml&
–styletype=text/xsl&–stylehref=people_form.xsl&–max=1&–nd=