Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic