Comments

Discussion in 'XML' started by Gerard Oberle, Jul 9, 2003.

  1. Is it possible to place a comment WITHIN a tag? For example,

    <?xml version="1.0" encoding="iso-8859-1"?>
    <!DOCTYPE top>
    <top>
    <something first="1" !-- 1 is the first attribute --
    last="100" !-- and 100 is the last --
    else="none"/>
    </top>

    Obviously, the XML here is contrived.

    Thanks in advance!

    - Jerry Oberle
    perl -e 'printf "%s%s%s%cGerard.%s%cchase%ccom%c", "ma", "il", "to",
    58, "Oberle", 64, 46, 10;'
     
    Gerard Oberle, Jul 9, 2003
    #1
    1. Advertisements

  2. Gerard Oberle

    Rajya Sabha Guest

    no. see
    http://www.w3.org/TR/REC-xml#sec-comments
     
    Rajya Sabha, Jul 9, 2003
    #2
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.