background preloader

XQuery, XSLT, JavaScript

Facebook Twitter

Stylus Studio. Custom Conversion to XML. Xslt fixed length - Re: Converting a Batch File to XML. Converting XML to CSV Using XQuery. OASIS XML Catalogs. HTML encoding of foreign language characters. Character entity references in HTML 4. 24.1 Introduction to character entity references A character entity reference is an SGML construct that references a character of the document character set.

Character entity references in HTML 4

This version of HTML supports several sets of character entity references: ISO 8859-1 (Latin-1) characters In accordance with section 14 of [RFC1866], the set of Latin-1 entities has been extended by this specification to cover the whole right part of ISO-8859-1 (all code positions with the high-order bit set), including the already commonly used  , © and ®. The names of the entities are taken from the appendices of SGML (defined in [ISO8879]). symbols, mathematical symbols, and Greek letters. These characters may be represented by glyphs in the Adobe font "Symbol". markup-significant and internationalization characters (e.g., for bidirectional text).

The following sections present the complete lists of character entity references. 24.2 Character entity references for ISO 8859-1 characters 24.2.1 The list of characters. JavaScript tutorial. New from Webteacher Software and partners, GoogleMapBuilder.comAn easy interface to turn any spreadsheet into a Google Map Webteacher Software now offers Welcome To JavaScript for the Total Non-Programmer This tutorial will take you step by step through the fundamentals of Javascript.

JavaScript tutorial

You will learn how to write functions, use data from text boxes, create IF-THEN conditionals, program loops, and generally make your web page "smarter. " I teach computer classes for a living to corporate clients of all levels. If you find this tutorial helpful, please let me know (it's my only reward). What is JavaScript? Javascript is an easy-to-use programming language that can be embedded in the header of your web pages. What's the difference between JavaScript and Java? Actually, the 2 languages have almost nothing in common except for the name. What is Object Oriented Programming?

MySQL

Dreamweaver Image Maps. Email Encoder. Version 1.2 February 4, 2003 Visit MetaProg.

Email Encoder

A while back, a client's web site was hit by a spam-bot looking to cull email addresses. Soon after, all the email addresses posted on the site started receiving mail offering free credit cards, free porn, etc. They asked me if I knew some way to protect the addresses while still letting people use the mail links. They didn't want a cgi script, but just some obfuscation in the html. While grumbling under my breath about them being really stupid for posting plain-text email addresses on an indexed web site, I smiled at them, said I'd look at what I could do, and went home to write the following code. I found a number of solutions on the web, all of which involved putting a large chunk of JavaScript code in the body of the web page - one chunk for each address. Technique 1 - JavaScript My solution consists of 2 parts.

<script language="JavaScript"><! //--></script> You can simply cut this out of this page and paste it into your document. URL Encoding. XSLT replace function. Jeni Tennison > I have an XML journal source, and an XML list of acronyms.

XSLT replace function

I wish to >automatically replace any occurrence of an acronym within the XML source, >with the appropriate <acronym title="blah">acronym</acronym> tag. It's easy >to replace one acronym, using simple XSL recursive find/replace, but when I >try to do more than one, I hit multiple difficulties. OK. First off, you need to design the parameters for the template. <xsl:template name="replace-acronyms"><xsl:param name="acronyms" select="document('.. The first tests to make are the stopping conditions: if $text is empty, then the template shouldn't generate anything; if $acronyms is empty, then the template should just return $text: