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 "«"> <!ENTITY raquo "»"> <!ENTITY hellip "…"> ]> <xsl:stylesheet… You add the lines marked above. They defined Continue reading
Month: January 2012
Did you remember to exclude namespaces from output?
When you work with XSLT, transforming XML to for instance the web in some CMS system, you might use some extra namespaces. Perhaps the CMS offers you some utilitiy namespace to handle relevant datastructure or procedures. You add them to your XSLT but perhaps you forgot to tell the XSLT processor not to add the 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
YouTube som din video base, en rigtig god idé!
Kort om video på nettet Hvis du har nogle videoer som du ønsker at dele med venner eller kunder så er YouTube bestemt et godt bud på et sted at gøre det. Du opnår mange gratis muligheder, og Google er jo bestemt ikke en dårlig “partner” på det felt! Her er et par af Continue reading