Difference between revisions of "Adding Styles to XML Worksheets"

From SmartWiki
Jump to: navigation, search
Line 5: Line 5:
 
[[Image:XMLSampleWorksheet.png|link=|600px]]
 
[[Image:XMLSampleWorksheet.png|link=|600px]]
  
The styles are defined in the ''XSL Template'' section of the {{XML}}.
+
The styles are defined in the ''XSL Template'' section of the {{XML}}. The ''bt'' style adds a line above the row. The ''InputOnly''
  
 
[[Image:XSLTemplate-Styles2.png|link=|300px]]
 
[[Image:XSLTemplate-Styles2.png|link=|300px]]

Revision as of 11:49, 2 December 2013

Styles can be added to your XML Worksheets by adding CSS classes to the XSL Template in the XML custom field.

The following is an example worksheet generated by an XML custom field. Note that the Total rows are shaded in and have a horizontal line above them.

XMLSampleWorksheet.png

The styles are defined in the XSL Template section of the XML custom field. The bt style adds a line above the row. The InputOnly

XSLTemplate-Styles2.png

The defined styles are then added to the desired XML nodes in the XML Section Builder.

XSLTemplate-ClassesInBuilder.png


See Also