Click or drag to resize

IPageCreationRuleStyleSheet Property


Gets and sets the overriding XSLT style sheet for this page creation rule.

Namespace:  Ingeniux.CMS
Assembly:  Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.308
Syntax
string StyleSheet { get; set; }

Property Value

Type: String
Exceptions
ExceptionCondition
ArgumentExceptionWhen the value to set on the property doesn't end with ".xsl" or ".xslt"
IOExceptionWhen the file specified in the value to set on the property doesn't exist
Remarks

This property's value is the file name of the XSLT style sheet, located in the App_Date/xml/stylesheets folder

Examples
Example value: default.xsl

By default, page creation uses the XSLT style sheet set on the schema. The value of this property is the value of the StyleSheet property on the schema.

If this property is set and the override value is not null or empty, then the new page created uses the style sheet defined here.

If the value to set on the property doesn't end in ".xsl" or ".xslt", an error is thrown.

If the file specified in the value to set on the property doesn't exist, an error is thrown.

See Also