Custom CSS Functions
The visual Author editing mode supports also a wide range of custom CSS extension functions.
In this section:
oxy_local-name()FunctionThis function evaluates the local name of the current node.oxy_name()FunctionThis function evaluates the qualified name of the current node.oxy_url()FunctionThis function extends the standard CSS url() function by allowing you to specify additional relative path components (parameters loc_1 to loc_n).oxy_base-uri()FunctionThis function evaluates the base URL in the context of the current node.oxy_parent-url()FunctionThis function evaluates the parent URL of a URL received as string.oxy_capitalize()FunctionThis function capitalizes the first letter of the text received as argument.oxy_uppercase()FunctionThis function transforms to upper case the text received as argument.oxy_lowercase()FunctionThis function transforms to lower case the text received as argument.oxy_concat()FunctionThis function concatenates the received string arguments.oxy_replace()FunctionThis function is used to replace a string of text.oxy_unparsed-entity-uri()FunctionThis function returns the URI value of an unparsed entity name.oxy_attributes()FunctionThis function concatenates the attributes for an element and returns the serialization.oxy_substring()FunctionThis function is used to return a string of text.oxy_getSomeText(text, length)FunctionThis function allows you to truncate a long string and to set a maximum number of displayed characters.oxy_indexof()FunctionThis function is used to define searches.oxy_lastindexof()FunctionThis function is used to define last occurrence searches.oxy_xpath()FunctionThis function is used to evaluate XPath expressions.oxy_action()FunctionThis function allows you to define actions directly in the CSS, rather than referencing them from the associated framework.oxy_action_list()FunctionThis function allows you to define a list of actions directly in the CSS, rather than referencing them from the associated framework.oxy_label()FunctionThis function can be used in conjunction with the CSScontentproperty to change the style of generated text.oxy_link-text()FunctionYou can use this function on the CSScontentproperty to obtain a text description from the source of a reference.oxy_unescapeURLValue(string)FunctionThis function returns the unescaped value of a URL-like string given as a parameter.- Arithmetic FunctionsArithmetic Functions that are supported.
- Form ControlsOxygen XML Author provides a variety of built-in form controls that allow users to interact with documents with familiar user interface objects.
Previous topic: Additional CSS Properties
Next topic: Custom CSS Pseudo-classes
Parent topic: Oxygen XML Author CSS Extensions