[xml] <foo> tag in <good> tag



Hello

        I would like to include <foo> sequence of caracteres in xml element.

        for exemple :

--------------------------------------------------------
        <?xml version="1.0" ?> 
        <script>
          <writer name="François Chenais"/>
          <version id="@(#) $Id: $" />

          <code>
            #!/bin/sh   
            echo "<hello> world !"
          </code> 

        </script>
--------------------------------------------------------        

        The parser (xmlParseFile) doesn't like <hello>.

        How can I do to say that all elements between <code> and </code> are
        NOT elements ?


                Thanks by advance


                François








[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]