File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Is this an empty Tag

 
Deepan Devadasan
Ranch Hand
Posts: 226
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Buddies,

We know

1)<x:foo>
2)<x:foo></x:foo>

are empty tags

Then the following too should obviously be an empty tag
<x:foo><%-- This is an empty element --%></x:foo>

Am I correct?
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64205
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
<x:foo> is not an empty tag.

And no, a tag containing a comment is not empty.
 
Deepan Devadasan
Ranch Hand
Posts: 226
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks Bear,

It was intended to be <x:foo/>javascript: x()
Smile

Thanks a lot again
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic