tld2xsc is a script that converts a JSP Tag Library Descriptor XML file into a skeleton XIST namespace module. The tld file is read from stdin and the namespace module is printed to stdout.
tld2xsc supports the following options:
- -s <value>, --shareattrs <value>
Should attributes be shared among the elements?
nonemeans that each element will have its own standalone
Attrsclass directly derived from
dupeseach attribute that is used by more than one element will be moved into its own
allthis will be done for all attributes.
- -m <model>, --model <model>
Add model information to the namespace.
nodoesn’t add any model information.
model = Falseor
model = True(i.e. only the information whether the element must be empty or not).
ll.xist.simsmodel object to each element class.
fullonceadds full model information to, but reuses model objects for elements which have the same model.