old-www/HOWTO/Caudium-HOWTO/firstrxml.html

197 lines
3.1 KiB
HTML

<HTML
><HEAD
><TITLE
>Your first RXML file</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
REL="HOME"
TITLE="Caudium HOWTO"
HREF="index.html"><LINK
REL="UP"
TITLE="Developing with Caudium"
HREF="developing.html"><LINK
REL="PREVIOUS"
TITLE="Developing with Caudium"
HREF="developing.html"><LINK
REL="NEXT"
TITLE="The Pike tag"
HREF="thepiketag.html"></HEAD
><BODY
CLASS="sect1"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>Caudium HOWTO</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="developing.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
>Chapter 6. Developing with Caudium</TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="thepiketag.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="sect1"
><H1
CLASS="sect1"
><A
NAME="firstrxml">6.1. Your first RXML file</H1
><P
>&#13; You can try this code. This is a basic one with only four tags/containers.
You should go to
<A
HREF="http://caudium.info/"
TARGET="_top"
>http://caudium.info/</A
> and download
the Roxen 1.3 documentation.
</P
><DIV
CLASS="example"
><A
NAME="AEN884"><P
><B
>Example 6-1. Some simple RXML tags.</B
></P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><FONT
COLOR="#000000"
><PRE
CLASS="programlisting"
>&#13;&#60;html&#62;
&#60;comment&#62;You have to put bgcolor for gtext to work properly&#60;/comment&#62;
&#60;body bgcolor="#FFFFFF"&#62;
&#60;h1&#62;Basic RXML examples&#60;/h1&#62;
&#60;table border="1"&#62;
&#60;tr&#62;
&#60;td&#62;This is a list of all RXML tags&#60;/td&#62;
&#60;td&#62;&#60;list-tags&#62;&#60;/td&#62;
&#60;/tr&#62;
&#60;/table&#62;
&#60;table border="1"&#62;
&#60;tr&#62;
&#60;td&#62;Gtext render text as graphic&#60;/td&#62;
&#60;td&#62;&#60;gtext scale=0.5&#62;This is a gif/png graphic&#60;/gtext&#62;&#60;/td&#62;
&#60;/tr&#62;
&#60;tr&#62;
&#60;td&#62;Last modification of this page&#60;/td&#62;
&#60;td&#62;&#60;modified&#62;&#60;/td&#62;
&#60;/tr&#62;
&#60;/table&#62;
&#60;/body&#62;
&#60;/html&#62;
</PRE
></FONT
></TD
></TR
></TABLE
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="developing.html"
ACCESSKEY="P"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="thepiketag.html"
ACCESSKEY="N"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>Developing with Caudium</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="developing.html"
ACCESSKEY="U"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>The Pike tag</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>