Documentation Center

About generic forms

A generic form is an XML file that defines information to be captured and the structure of the form's presentation. When the user requests to fill in a new form, the XML is transformed into HTML using an XSL stylesheet; when the user requests to print an already completed form, the XML is transformed into a PDF using an XSL-FO stylesheet.

Each publication has a set of generic forms available to the user as well as the required XSL and XSL-FO styles. These files live in the templates/FullSupport/httpdocs/book_data/COLLECTION/PUBLICATION/genforms/subdirectory of the LiveContent S1000D home directory, where COLLECTION is the name of a collection and PUBLICATION is the name of a publication.

The Bike publication that ships with LiveContent S1000D has two sample forms:
genforms1
a Customer Satisfaction form, located in httpdocs/book_data/default/bike/genforms/genforms1/
template
a Warranty Registration form, located in httpdocs/book_data/default/bike/genforms/template/