Output format xslt stylesheet – Google Search Appliance Administrative API Developers Guide: .NET User Manual
Page 33

Google Search Appliance: Administrative API Developer’s Guide: .NET
33
Output Format XSLT Stylesheet
Retrieve and update the XSLT template and other output format-related properties for each language
of each front end using the frontend entry of the outputFormat feed.
Use the following properties to access the XSLT template information.
Note: For the update action, the restoreDefaultFormat content is mutually exclusive from the
styleSheetContent. For each update action, you should either restore the output format XSLT
stylesheet back to the original default values, set the XSLT stylesheet to a custom format, or neither, but
not both.
Parameter
Description
language
Specify a language for the output format properties that you want to
retrieve. Each front end can contain multiple languages, and each
language has its own output format properties. Each front end +
language can have its own XSLT stylesheet. The language parameter
enables you to retrieve and update a stylesheet for a front end
associated with a language.
Administrators who use the Admin Console set the language in their
browser and the Admin Console then displays in that language (if the
Admin Console has been translated into that language). Hence the
language parameter for the outputFormat feed is limited to the
values to which the Admin Console is translated.
Property
Description
isDefaultLanguage
Set to 1 if the designated language is the default language for the
specified front end, set to 0 if not.
isStyleSheetEdited
Set to 0 if the style sheet is the default stylesheet that has not been
previously edited. Set to 1 if the style sheet has been edited.
language
When retrieving, the language is determined by the language that is
specified by the query parameter. When updating, the language is
passed as an entry property to specify the language of the output
stylesheet.
restoreDefaultFormat
Set to 1 to restore custom-edited XSLT code back to the default values.
A 0 value has no effect.
styleSheetContent
The output format XSLT code content.