File:  [ELWIX - Embedded LightWeight unIX -] / gpl / axl / test / channel.dtd.h
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Wed Jun 8 07:09:12 2011 UTC (13 years ago) by misho
Branches: axl, MAIN
CVS tags: HEAD, AXL0_6_7, AXL0_6_1
3th party - XML

/**
 * C inline representation for DTD channel.dtd, created by axl-knife
 */
#ifndef __CHANNEL_DTD_H__
#define __CHANNEL_DTD_H__
#define CHANNEL_DTD "\n\
<!-- channel management DTD definition from RFC 3080-->   \
<!ENTITY % CHAN       'CDATA'>                            \
<!ENTITY % URI        'CDATA'>                            \
<!ENTITY % FTRS       'NMTOKENS'>                         \
<!ENTITY % LANG       'NMTOKEN'>                          \
<!ENTITY % LOCS       'NMTOKEN'>                          \
<!ENTITY % XYZ        'CDATA'>                            \
                                                          \
<!ELEMENT greeting    (profile)*>                         \
<!ATTLIST greeting                                        \
          features    %FTRS;            #IMPLIED          \
          localize    %LOCS;            'i-default'>      \
                                                          \
<!ELEMENT start       (profile)+>                         \
<!ATTLIST start                                           \
          number      %CHAN;             #REQUIRED        \
          serverName  CDATA              #IMPLIED>        \
                                                          \
<!ELEMENT profile     (#PCDATA)>                          \
<!ATTLIST profile                                         \
   uri         %URI;              #REQUIRED               \
   encoding    (none|base64)      'none'>                 \
                                                          \
<!ELEMENT close       (#PCDATA)>                          \
<!ATTLIST close                                           \
          number      %CHAN;             '0'              \
          code        %XYZ;              #REQUIRED        \
          xml:lang    %LANG;             #IMPLIED>        \
                                                          \
<!ELEMENT ok          EMPTY>                              \
                                                          \
<!ELEMENT error       (#PCDATA)>                          \
<!ATTLIST error                                           \
          code        %XYZ;              #REQUIRED        \
          xml:lang    %LANG;             #IMPLIED>        \
                                                          \
\n"
#endif

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>