Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

End tag

Status
Not open for further replies.

zhshqzyc

Programmer
Jan 21, 2006
13
US
Hello,
Newbin question.
The following code doesn't have the end tag for APPROVAL?
Is it okay?



<APPROVALS>
<APPROVAL ApproverID="3111" FunctionID="1002" ApplID="3" />
</APPROVALS>

 
Actually, it does have the "short-hand" version of an end tag for an empty element.
Code:
<APPROVAL ApproverID="3111" FunctionID="1002" ApplID="3" [red]/[/red]>
is the same as
Code:
<APPROVAL ApproverID="3111" FunctionID="1002" ApplID="3">[red]</APPROVAL>[/red]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top