How to add entities to XSLT templates

When you work with XSLT you sometimes need special characters like “«” and “»”. You can define “entities” which can then be used in the document. Here is how:   <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE xsl:stylesheet [ <!ENTITY laquo "&#171;"> <!ENTITY raquo "&#187;"> <!ENTITY hellip "&#8230;"> ]> <xsl:stylesheet… You add the lines marked above. They defined Continue reading


Extend Object with method that handles CSS values in javascript

If you are working with CSS and need to for instance add or subtract a value to a CSS value like “15px” or “3em” this method “getCSSValueAndUnit()” will come in handy. Simply add the code somewhere in the top to extend the “Object” object.   The method is used as follows: "10px".getCSSValueAndUnit(); which will return Continue reading


Gratis online undervisnings programmer til skolebørn og forældre

Om det er fordi du er ambitiøs eller du bare hellere vil have at dit bare leger og lærer (noget fornuftigt), så har mange af os forældre til skolebørn godt af at besøge træneren.emu.dk Det er uni-c der står for denne undervisningspotal, som i øvrigt hedder “EMU | Danmarks undervisningsportal.”   Jeg var så heldig Continue reading