RetroZilla/extensions/transformiix/source/xpath/txXPathAtomList.h
2015-10-20 23:03:22 -04:00

124 lines
4.2 KiB
C

/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
* Software distributed under the License is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
* for the specific language governing rights and limitations under the
* License.
*
* The Original Code is TransforMiiX XSLT processor code.
*
* The Initial Developer of the Original Code is
* Jonas Sicking.
* Portions created by the Initial Developer are Copyright (C) 2001
* the Initial Developer. All Rights Reserved.
*
* Contributor(s):
* Jonas Sicking <sicking@bigfoot.com>
*
* Alternatively, the contents of this file may be used under the terms of
* either the GNU General Public License Version 2 or later (the "GPL"), or
* the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
* in which case the provisions of the GPL or the LGPL are applicable instead
* of those above. If you wish to allow use of your version of this file only
* under the terms of either the GPL or the LGPL, and not to allow others to
* use your version of this file under the terms of the MPL, indicate your
* decision by deleting the provisions above and replace them with the notice
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
// OUTPUT_CLASS=txXPathAtoms
// MACRO_NAME=TX_ATOM
TX_ATOM(_and, "and")
TX_ATOM(_asterix, "*")
TX_ATOM(boolean, "boolean")
TX_ATOM(ceiling, "ceiling")
TX_ATOM(comment, "comment")
TX_ATOM(concat, "concat")
TX_ATOM(contains, "contains")
TX_ATOM(count, "count")
TX_ATOM(div, "div")
TX_ATOM(_false, "false")
TX_ATOM(floor, "floor")
TX_ATOM(id, "id")
TX_ATOM(lang, "lang")
TX_ATOM(last, "last")
TX_ATOM(localName, "local-name")
TX_ATOM(mod, "mod")
TX_ATOM(name, "name")
TX_ATOM(namespaceUri, "namespace-uri")
TX_ATOM(node, "node")
TX_ATOM(normalizeSpace, "normalize-space")
TX_ATOM(_not, "not")
TX_ATOM(number, "number")
TX_ATOM(_or, "or")
TX_ATOM(position, "position")
TX_ATOM(processingInstruction, "processing-instruction")
TX_ATOM(round, "round")
TX_ATOM(startsWith, "starts-with")
TX_ATOM(string, "string")
TX_ATOM(stringLength, "string-length")
TX_ATOM(substring, "substring")
TX_ATOM(substringAfter, "substring-after")
TX_ATOM(substringBefore, "substring-before")
TX_ATOM(sum, "sum")
TX_ATOM(text, "text")
TX_ATOM(translate, "translate")
TX_ATOM(_true, "true")
// XPath Axes
TX_ATOM(ancestor, "ancestor")
TX_ATOM(ancestorOrSelf, "ancestor-or-self")
TX_ATOM(attribute, "attribute")
TX_ATOM(child, "child")
TX_ATOM(descendant, "descendant")
TX_ATOM(descendantOrSelf, "descendant-or-self")
TX_ATOM(following, "following")
TX_ATOM(followingSibling, "following-sibling")
TX_ATOM(_namespace, "namespace")
TX_ATOM(parent, "parent")
TX_ATOM(preceding, "preceding")
TX_ATOM(precedingSibling, "preceding-sibling")
TX_ATOM(self, "self")
#ifndef DISABLE_XFORMS_HOOKS
// XForms XPath Extensions
TX_ATOM(avg, "avg")
TX_ATOM(booleanFromString, "boolean-from-string")
TX_ATOM(countNonEmpty, "count-non-empty")
TX_ATOM(daysFromDate, "days-from-date")
TX_ATOM(ifFunc, "if")
TX_ATOM(index, "index")
TX_ATOM(instance, "instance")
TX_ATOM(min, "min")
TX_ATOM(max, "max")
TX_ATOM(months, "months")
TX_ATOM(now, "now")
TX_ATOM(localDateTime, "local-dateTime")
TX_ATOM(localDate, "local-date")
TX_ATOM(property, "property")
TX_ATOM(seconds, "seconds")
TX_ATOM(secondsFromDateTime, "seconds-from-dateTime")
TX_ATOM(current, "current")
TX_ATOM(event, "event")
TX_ATOM(power, "power")
TX_ATOM(random, "random")
TX_ATOM(compare, "compare")
TX_ATOM(context, "context")
TX_ATOM(daysToDate, "days-to-date")
TX_ATOM(secondsToDateTime, "seconds-to-dateTime")
TX_ATOM(isCardNumber, "is-card-number")
TX_ATOM(digest, "digest")
TX_ATOM(adjustDateTimeToTimezone, "adjust-dateTime-to-timezone")
#endif