This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> | |
| <!-- | |
| Example: | |
| <xsl:call-template name="plaintext-paragraphs"> | |
| <xsl:with-param name="string" select="body"/> | |
| </xsl:call-template> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> | |
| <!-- | |
| Piwik Analytics Tracking Utility | |
| Options: | |
| piwik-url - You will need to provide the url to your piwik instalation, followed by a / | |
| page-not-url - Set True|False for named tracking instead of url in Piwik interface, defaults to False | |
| page-name - Set the page name here, defaults to document.location. For a string, see example, otherwise javascript. | |
| site-id - Set the ID of the site you are tracking, defaults to 1 (main site) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> | |
| <xsl:import href="../utilities/string-replace.xsl"/> | |
| <xsl:output method="xml" encoding="UTF-8" indent="yes" omit-xml-declaration="yes"/> | |
| <!-- | |
| TO USE, CALL TEMPLATE LIKE SO... | |
| <xsl:call-template name="pagseguro"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:exsl="http://exslt.org/common" xmlns:math="http://exslt.org/math" extension-element-prefixes="exsl math"> | |
| <!-- | |
| Name: Number To Words | |
| Version: 1.0 | |
| Author: Nick Dunn <nick@nick-dunn.co.uk> | |
| URL: http://symphony-cms.com/downloads/xslt/file/20486/ | |
| Parameters: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> | |
| <!-- | |
| Example: | |
| <xsl:call-template name="nl2elements"> | |
| <xsl:with-param name="string" select="body" /> | |
| <xsl:with-param name="element" select="'li'" /> | |
| </xsl:call-template> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> | |
| <!-- | |
| Example: | |
| <xsl:call-template name="nl2br"> | |
| <xsl:with-param name="string" select="body"/> | |
| </xsl:call-template> | |
| --> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> | |
| <xsl:template match="navigation"> | |
| <ul id="menu"> | |
| <xsl:apply-templates select="page"> | |
| <xsl:with-param name="path" select="$root" /> | |
| <xsl:with-param name="collapse" select="'yes'" /> | |
| </xsl:apply-templates> | |
| <xsl:if test="/data/events/login-info/@logged-in = 'true'"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <xsl:stylesheet version="1.0" | |
| xmlns:xsl="http://www.w3.org/1999/XSL/Transform" | |
| xmlns:exsl="http://exslt.org/common" | |
| xmlns:members="http://michael-eichelsdoerfer.de/xslt/members" | |
| extension-element-prefixes="exsl members"> | |
| <!-- Please download from GitHub! --> | |
| </xsl:stylesheet> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:exsl="http://exslt.org/common" xmlns:dyn="http://exslt.org/dynamic" extension-element-prefixes="exsl dyn"> | |
| <!-- | |
| //////////////////////////// Magical Image Resize Utility | |
| // /////////////// /// ============================ | |
| /// ///////////// //// | |
| //// ///// ///// ///// | |
| ///// /// /// ////// | |
| ////// / / /////// | |
| /////// //////// |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <xsl:stylesheet version="1.0" | |
| xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> | |
| <!-- | |
| It is very important that you are using <xsl:include /> instead of | |
| <xsl:import /> to include this template, otherwise this util will not work! | |
| Background: templates in an imported stylesheet will be overwritten by | |
| templates in the current stylesheet while the ones being included will not. |