Subject:Wordml intelligence Author:(Deleted User) Date:27 May 2008 06:31 AM
Hi Karthik,
the XSL editor has a configuration file, languages.xml, located in <stylus dir>\bin\Plugins\Configuration Files that defines the element names and content of several XSL-related languages (XSLT, XSL-FO, XSLT2, proprietary extensions to the XSLT language). You can edit it to add the element names of the WordML markup language, whose schema can be retrieved from http://www.microsoft.com/downloads/details.aspx?familyid=fe118952-3547-420a-a412-00a2662442d9&displaylang=en
Can you please explain the significance of using the schema from the mentioned path. I got the result just by adding the above piece of code in languages.xml.
Please explain the significance and steps to be carried out for the schema files, so that I can implement it in the rightway.
Subject:Wordml intelligence Author:(Deleted User) Date:27 May 2008 10:12 AM
Your change is fine, but it just lists one tag; I was suggesting you to read the wordnet.xsd schema to gather the complete list of tags that the WordML schema allows. If you are not interested in the complete set of elements and attributes, just edit the languages.xml file with the ones you need.
In the editor if type <xsl:i it is listing <xsl:if and after selecting it if I give a space it lists the following,
a=test
a=xml:space
after selecting xml:space it lists the values "preserve" and "defualt". I selected one of the values and closed the tag.
My doubt is although "test" attribute is marked as required the editor does not mandate me or indicate me to choose this attribute. So please let us know the significance of setting required = "yes" for the attributes with the respect to the editor.