PROXY  WHOIS  RQUOTE  TEXTS  SOFT  FOREX  BBOARD
 Music  Philosophy  Code  Literature  Russian

= ROOT|Technical|RFC|rfc2629.txt =

page 3 of 18



       about these, you'll only use them whenever you want to put a "&"
       or a "<" in your text.

   5.  A "token" is a string of characters. The first character is
       either a letter or an underscore ("_"). Any characters that
       follow are either letters, numbers, an underscore, or a period
       (".").

   First, start your source file with an XML declaration, a reference to
   the DTD, and the "rfc" element:

       <?xml version="1.0"?>
       <!DOCTYPE rfc SYSTEM "rfc2629.dtd">
       
           ...
       

   Ignore the first two lines -- the declaration and the reference --
   and simply treat them as opaque strings. Nothing else should be
   present after the "" tag.

   Second, make sure that all elements are properly matched and nested.




 
RFC 2629            Writing I-Ds and RFCs using XML            June 1999


   A properly matched element that starts with "" is eventually
   followed with "". (Empty elements are always matched.)
   Elements are properly nested when they don't overlap.

   For example,

       
           ...
           
               ...
           
           ...
       

   is properly nested.

   However,

       
           ...
           
               ...
           
           ...
       

   overlaps, so the elements aren't properly nested.

   Third, never use "<" or "&" in your text. Instead, use either "<"
   or "&", respectively.

   Fourth, there are two quoting characters in XML, 'apostrophe' and
   "quotation". Make sure that all attributes values are quoted, e.g.,
   "<example name='value'>", If the value contains one of the quoting
   characters, then use the other to quote the value, e.g., "<example
   name='"'>", If the value contains both quoting characters, then use
   one of them to quote the value, and replace occurrances of that
   character in the attribute value with either ''' (apostrophe) or
   """ (quotation), e.g., "<example name='"'"'>".

   If you want to put a comment in your source file, here's the syntax:

           <!-- comments can be multiline,
            if you wish -->

   Finally, XML is case sensitive.






 
RFC 2629            Writing I-Ds and RFCs using XML            June 1999


2.2 Front matter

   Immediately following the "" tag is the "front" element:

       <?xml version="1.0"?>
       <!DOCTYPE rfc SYSTEM "rfc2629.dtd">
       
           
               
               
               
               
               
               <workgroup ...>
=3=

1|2| < PREV = PAGE 3 = NEXT > |4|5|6|7|8|9|10|11|12.18

UP TO ROOT | UP TO DIR | TO FIRST PAGE

Google
 


E-mail Facebook Google Digg del.icio.us BlinkList Fark Furl Ma.gnolia Netscape NewsVine Reddit Slashdot Spurl StumbleUpon Technorati YahooMyWeb LiveJournal Blogmarks TwitThis Live News2.ru BobrDobr.ru Memori.ru MoeMesto.ru

0.010829 wallclock secs ( 0.01 usr + 0.00 sys = 0.01 CPU)