1 /** ds-templ.c - DirectoryScript template, used in code generation 2 ** Copyright (c) 2007 Symlabs (symlabs@symlabs.com), All Rights Reserved. 3 ** Author: Sampo Kellomaki (sampo@iki.fi) 4 ** This is confidential unpublished proprietary source code of the author. 5 ** NO WARRANTY, not even implied warranties. Contains trade secrets. 6 ** Distribution prohibited unless authorized in writing. 7 ** Licensed under Apache License 2.0, see file COPYING. 8 ** $Id: ds-templ.c,v 1.1 2007-08-10 17:44:49 sampo Exp $ 9 ** 10 ** 6.6.2007, created, Sampo Kellomaki (sampo@iki.fi) 11 ** 12 ** N.B: This template is meant to be processed by pd/xsd2sg.pl. Beware 13 ** of special markers that xsd2sg.pl expects to find and understand. 14 **/ 15 16 function parse_ELNAME(data, x) { 17 ATTRS_PARSE; 18 ELEMS_PARSE; 19 } 20 21 function build_ELNAME(data) { 22 attr = []; 23 body = []; 24 ATTRS_BUILD; 25 ELEMS_BUILD; 26 return TAG('ELNS:ELTAG', attr, body); 27 } 28 29 /* EOF */ 30