|
From: Joël F. - I. (MELS) <joe...@id...> - 2008-09-11 13:35:19
|
Dear eLML-Users, I am working hard on eLML 5 release and there are some minor changes that might affect you: A first change was made by Susanne in the XML Schema. If you want you can ignore it because your lessons will still be valid. She did loosen the definition of the @target attribute of the link element. Up to now you could only choose between target=_blank and target=_top which doesnt make sense. Now you can put any kind of text in this attribute field. If you still prefer to have a validation you can read Susannes text below on how to do that modifying your projects validate.xsd A second change concerns people using YAML. The change was done by Thomas Linowsky and myself. As you know he wrote the Template Builder application that generates layout templates. Up to now you had to download YAML and put the "yaml" folder within your templates folder (eg. "plain" or "gitta" or "main" or however you called your template). It was on the same level as the elml.css and the online.xsl file. Now we moved it one step up and did put it directly within the "_templates" folder. This is where eLML and the Template Builder expects the YAML folder. Why that change? Because some projects have 10 layout templates and more and if you use YAML you would have had 10 copies of that folder and this doesnt make sense. Especially if you know that this folder contains hundreds of CSS files etc. You can always ask me if something concerning one of these changes is not clear: el...@id... Bye Joël > ---------------------------------------------------------------------- > >> Comment By: Susanne Bleisch (susannebleisch) > Date: 2008-09-10 15:01 > > Message: > Done. I changed the elml.xsd file - the attribute target has now an > xs:string content definition (no validation). If you need validation > and > want to extend the enumeration with your own values you need to add > the > following section to your project specific validate.xsd file. > > Replace > <!--The name of the main eLML schema file.--> > <xs:include schemaLocation="../../core/structure/elml.xsd"/> > > in your validate.xsd file with > <!--The name of the main eLML schema file.--> > <!--<xs:include schemaLocation="../../core/structure/elml.xsd"/>--> > <!--replace xs:include by xs:redefine and redefine any elements you > need > to--> > <xs:redefine schemaLocation="../../core/structure/elml.xsd"> > <xs:simpleType name="targetType"> > <xs:restriction base="elml:targetType"> > <xs:enumeration value="_blank"/> > <xs:enumeration value="_top"/> > </xs:restriction> > </xs:simpleType> > </xs:redefine> > > and add any further enumeration values you need. > > This information should be added to the documentation - the website? > I'll > redo the automatically generated XMLSchema documentation. > > ---------------------------------------------------------------------- -------------------------------------------------------------------- Joël Fisler Universität Zürich Multimedia & E-Learning Services (MELS) Winterthurerstrasse 190 (Y12 F64) CH-8057 Zürich Phone: +41 44 63 55252 or "joelfisler" (Skype) Mail: joe...@id... Web: http://www.id.uzh.ch/org/mels.html -------------------------------------------------------------------- |