Library.xml Details
The library.xml list all the custom widgets relative to the base directory. This file needs to be include in .
The sample library.xml is as follows:
<?xml version="1.0" encoding="UTF-8"?>
<library>
<component file="mywid1/mywid1.xml" />
<component file="mywid2/mywid2.xml" />
<component file="mywid2/mywid3.xml" />
</library>
Each widget is encapsulated using the component element. The sample base-directory structure is as follows:
<base-dir>/
library.xml
mywid1/
mywid1.xml
mywid1.png
css/
mywid1.css
javascript/
mywid1.js
mywid2/
mywid2.xml
mywid2.png
css/
mywid2.css
javascript/
mywid2.js
mywid3/
mywid3.xml
mywid3.png
css/
mywid3.css
javascript/
mywid3.js