Specify Custom CSS Properties
To specify custom CSS properties, follow these steps:
- Create a file named CustomProperties.xmlthat has the following structure:<?xml version="1.0" encoding="UTF-8"?> <css_keywords xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.oxygenxml.com/ns/css http://www.oxygenxml.com/ns/css/CssProperties.xsd" xmlns="http://www.oxygenxml.com/ns/css"> <property name="custom"> <summary>Description for custom property.</summary> <value name="customValue"/> <value name="anotherCustomValue"/> </property> </css_keywords>
- Go to your desktop and create the builtin/css-validator/folder structure.
- Press and hold Shift and right-click anywhere on your desktop. From the contextual menu, select Open Command Window Here.
- In the command line, run the jar cvf custom_props.jar builtin/command.Thecustom_props.jarfile is created.
- Go to [OXYGEN_INSTALL_DIR]/liband create theendorsedfolder. Copy thecustom_props.jarfile to[OXYGEN_INSTALL_DIR]/lib/endorsed.
