/288-utils

Useful utilitaries that can be reused for futur projects using the 288-symphony-framework

Primary LanguageXSLT

288-utils

Useful utilitaries that can be reused for future projects using the 288-symphony-framework

Collapsing margins

Add minimal html markup and styles to prevent margins from collapsing.

util-uncollapse-margin

Proportion filler

Creates an element with a fixed ratio which can be used to sync with another element's min-height.

util-proportion-filler

Random number

Get a random number between a min and max value.

util-random-number

Button node

Creates a node usable by util-auto-url.

util-button-node

Excerpt

Create an excerpt from a text.

util-excerpt

Generate URL from xml context

Created the url based on the xml context and section name.

util-auto-url

Rewrite XML recursively with custom rules

Output a new custom node from an existing one from a set of rules.

util-rewrite-node

Count variable

Useful to create count something that can be of multiple type. Prevents xsl error when trying to count a string for example.

util-count