Hi,
at first, thank you very much for your support and help. But unfortunately I described my problem not clear enough.
I am not looking for a summarize of every XSLT-element (like in the above xsd-file)
. I am looking for rules to build the syntax-elements of the language itself (element, attribute, comment; all itself and the same like in XML plus XSLT-specific syntax-elements like function). I am looking for a description or the rules to build that by machine. For example there is a simple description of the syntax of an XSLT-element by words:
- starttag starts with < and ends with >
- can have attributes
- needs an endtag that begins with </
...
And know I am looking for that description transformed in EBNF or XML-Schema. I have information that the XML-Specification is written partly in the EBNF-notation for describing the XML-Information Set (Infoset). I have found such a description as RDF-Schema, but not in EBNF or XML-Schema and not for XSLT.
For a description of what I want to do: My Editor shows the user the possible syntax-elements of the language XSLT. One can be choosen to write into the file. If the user chooses for example the syntax-element âelementâ, the following line (exactly as shown) is written into the file:
<xsl:element-name attribute-name=âtextâ></xsl:element-name>
After that the user can overwrite the âelement-nameâ, âattribute-nameâ and âtextâ with concrete names and text. The same should be for every syntax-element of the language.
Can you help me again with this added information?
Thank you very much and sorry for the bad description of my problem.
belgaia