Style Sheet for XML Budgets and Defined Default Classes

From SmartWiki
Jump to: navigation, search
This page has been deprecatedSee Custom Field Type: Special - XML Data

Overview

XML data custom fields have been updated with a new default style sheet. This enhancement eliminates the need for hand coded HTML styling when creating XML data fields.


Applying the Default Style Sheet and Defined Default Classes

Updates to the XML Data Custom Field

1. Navigate to, and edit, the specific Special - XML Data custom field.
2. In the XSL Template field, copy the section variable, then click on the Sample Template hyperlink.
3. Inside the XSL Template field the Sample Template is populated.

Xsl sample template.png
Illustration of the XSL Template field with the Sample Template code populated (above).


4. Locate the line within the Sample Template that reads "<---- Insert section variable here ---->" and replace it with the section variable copied from step 2.

Xsl samplate template section name.png



5. Under the Options section, add a check mark to the Enable Builder field.
6. Click Save.


The New Section Builder

1. At the top of the Custom Field page click on the Section Builder icon.

Section builder icon.png
Section Builder icon illustrated (above).

2. The New Section Builder page is displayed.
3. Under Section, click on the custom field hyperlink, this action will populate the Edit Section and the Cell Grid section with the field details.


XML Section Builder Section.png


4. Inside the Edit Section, ensure that the Apply Default Styles check box is checked.


Cell Grid

  1. In the Cell Grid section, clicking on any of the cells will populate the cell details into Cell Properties.
  2. To save and apply all changes, click Build.

See Also