• Post Reply Bookmark Topic Watch Topic
  • New Topic

empty tag ?

 
Amol Fuke
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,

Is the example of valid empty tag ?

<mind:advice name="${userName}" />

Considering uri and tld are configured correctly.

Thanks,
Amol
 
Dee Brown
Ranch Hand
Posts: 94
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, an empty tag has no body content. Although I believe your version is preferred, this is an alternate syntax:

<mind:advice name="${userName}" ></mind:advice>
 
Amol Fuke
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Dee.

-Amol
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!