View Single Post
  #4 (permalink)  
Old October 17th, 2003, 06:36 AM
joefawcett's Avatar
joefawcett joefawcett is offline
Wrox Author
Points: 9,763, Level: 42
Points: 9,763, Level: 42 Points: 9,763, Level: 42 Points: 9,763, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Exeter, , United Kingdom.
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

As pgtips said this means your element cannot contain other nodes:
Code:
<ship code="myCode" voyage="myVoyage"/>
Both attributes are required, these are illegal:
Code:
<ship code="myCode" voyage="myVoyage">Text</ship> 
<ship voyage="myVoyage"/> 
<ship code="myCode"/>
--

Joe
Reply With Quote