Changeset 3046406
- Timestamp:
- 03/06/2024 02:44:19 PM (2 years ago)
- File:
-
- 1 edited
-
tenandtwo-xslt-processor/trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tenandtwo-xslt-processor/trunk/readme.txt
r3046391 r3046406 26 26 27 27 28 = Shortcode : `[xslt_transform/]`=28 = Shortcode : [xslt_transform/] = 29 29 30 `[xslt_transform/]`is the plugin's primary function. This shortcode processes XML data using an XSL stylesheet, and then outputs the result as HTML, more XML, or as simple TEXT.30 [xslt_transform/] is the plugin's primary function. This shortcode processes XML data using an XSL stylesheet, and then outputs the result as HTML, more XML, or as simple TEXT. 31 31 32 32 - `[xslt_transform xsl="{file|url|id|slug}" xml="{file|url|id|slug}" /]` … … 36 36 37 37 38 = Shortcode : `[xslt_select_xml/]`=38 = Shortcode : [xslt_select_xml/] = 39 39 40 `[xslt_select_xml/]`is a helper function. It reads XML and returns a selection of the data, based on a supplied XPath expression. There are two options for specifying the XPath. First, using the `select` attribute or, second, using the body of the shortcode. Complex select statements with quotes, square brackets or other special syntax, should use the second pattern :40 [xslt_select_xml/] is a helper function. It reads XML and returns a selection of the data, based on a supplied XPath expression. There are two options for specifying the XPath. First, using the `select` attribute or, second, using the body of the shortcode. Complex select statements with quotes, square brackets or other special syntax, should use the second pattern : 41 41 42 42 - `[xslt_select_xml xml="{file|url|id|slug}" select="{XPath}" /]` … … 46 46 47 47 48 = Shortcode : `[xslt_select_csv/]`=48 = Shortcode : [xslt_select_csv/] = 49 49 50 `[xslt_select_csv/]`is a helper function for converting CSV file data to XML. The result can be output directly as an HTML `<table>`, or the result can be passed to `[xslt_transform/]` for further processing.50 [xslt_select_csv/] is a helper function for converting CSV file data to XML. The result can be output directly as an HTML `<table>`, or the result can be passed to `[xslt_transform/]` for further processing. 51 51 52 52 - `[xslt_select_csv csv="{file|url}" /]`
Note: See TracChangeset
for help on using the changeset viewer.