• Post Reply Bookmark Topic Watch Topic
  • New Topic

empty tag ?  RSS feed

 
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
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!