Prefix and encrypted barcodes
Prefix and "encrypted" barcode printing was added through SPML configured in btTicket2.xsl. New attributes to <barcode> SPML tag: encrypt38="true" forces the barcode data to base38. Prefix="XYZ" prefixes the barcode data (to put a % in the prefix use: i.e., <barcode encrypt38="true" prefix="%AAXX"> where "%" is the special character designation for "%" required to express "%" in SPML.
The complete expression for the encrypted access.pass_no barcode follows:
<barcode encrypt38="true" prefix="%AAXX">
<xsl:value-of select="$ticketNumber"/>
</barcode>
In order to not encrypt the number encrypt38="true" must be removed from the expression.
Example:
<barcode prefix="%AAXX">
<xsl:value-of select="$ticketNumber"/>