Purpose
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.
Options
tld2xsc supports the following options:
-s,--shareattrs(none,dupes,all)Should attributes be shared among the elements?
nonemeans that each element will have its own standaloneAttrsclass directly derived fromll.xist.Elements.Attrs. Fordupeseach attribute that is used by more than one element will be moved into its ownAttrsclass. Forallthis will be done for all attributes.-m,--model(no,simple,fullall,fullonce)Add model information to the namespace.
nodoesn't add any model information.simpleonly addsmodel = Falseormodel = True(i.e. only the information whether the element must be empty or not).fullalladds all.xist.simsmodel object to each element class.fullonceadds full model information to, but reuses model objects for elements which have the same model.