Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > Comments

Reply
Thread Tools

Comments

 
 
Gerard Oberle
Guest
Posts: n/a
 
      07-09-2003
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;'
 
Reply With Quote
 
 
 
 
Rajya Sabha
Guest
Posts: n/a
 
      07-09-2003
Gerard Oberle wrote:
> 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>
>


no. see
http://www.w3.org/TR/REC-xml#sec-comments

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
A program to replace all JS comments with JSP comments in jsp files tungchau81@yahoo.com Javascript 4 06-03-2006 02:00 PM
A program to replace all JS comments with JSP comments in jsp files tungchau81@yahoo.com Java 0 06-02-2006 06:35 AM
Comments format: comments extending over multi-line Monk C Programming 10 04-20-2005 05:09 PM
Firefox comments and questions? Noozer Firefox 3 04-21-2004 08:29 PM
Firefox 0.8 Comments Ol' Duffer Firefox 5 02-23-2004 01:54 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57