Skip to content

Instantly share code, notes, and snippets.

View meiradarocha's full-sized avatar

José Antonio Meira da Rocha meiradarocha

View GitHub Profile
@meiradarocha
meiradarocha / locales-pt-BR.xml
Created April 20, 2011 22:42
Brazilian portuguese locales for CSL
<?xml version="1.0" encoding="utf-8"?>
<locale xmlns="http://purl.org/net/xbiblio/csl" version="1.0" xml:lang="pt">
<style-options punctuation-in-quote="false"/>
<date form="text">
<date-part name="day" suffix=" de "/>
<date-part name="month" suffix=" de "/>
<date-part name="year"/>
</date>
<date form="numeric">
<date-part name="day" form="numeric-leading-zeros" suffix="/"/>
@meiradarocha
meiradarocha / gist:7aeac554040716027ba7eb59287b0db2
Last active May 25, 2017 07:39 — forked from trevordevore/gist:5584753
Convert XML to and from a LiveCode array
/**
* Handlers for converting XML to LiveCode arrays and vice versa.
*
* Provided by Trevor DeVore of Blue Mango Learning Systems.
*/
/**
* \brief Escapes the predefined XML entities in a string.
*
* \param pStr The string to escape the characters in.