Usage of X-lexicon in the X-definition (input data in the German version).
X-definition
The input data are processed in the German version. You can try the french version
here
).
<xd:def xmlns:xd = "http://www.xdef.org/xdef/4.2" xd:name = "Test" xd:root = "Book" > <Book ISBN="int(10000000, 999999999);" year = "gYear();" title = "string();" > <Author xd:script="occurs *"> string(); </Author> </Book> <xd:lexicon language='eng' default='yes'> /* All items in the model of Book are in English version. */ </xd:lexicon> <xd:lexicon language='deu'> /* German version */ Test#Book = Buch Test#Book/@year = Jahr Test#Book/@title = Buchtitel Test#Book/Author = Autor </xd:lexicon> <xd:lexicon language='fra'> /* French version */ Test#Book = Livre Test#Book/@year = année Test#Book/@title = titre Test#Book/Author = Auteur </xd:lexicon> </xd:def>
Input data (the German version)
<Buch ISBN = "123456789" Jahr = "1992" Buchtitel = "Snow Crash" > <Autor>Neal Stephenson</Autor> </Buch>
You can edit
X-definition
or
Input data
.
Specify language
"eng"
or
"fra"
: