• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Fragments

 
Shreya Menon
Ranch Hand
Posts: 285
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am reading chapter 10 and I cant clearly understand what an XML fragment is.
There r some examples in the book which says about a valid fragment and an invalid fragment. Can anyone give me an example about this ?
This is not clear to me
Thanks
Maya
 
Dan Drillich
Ranch Hand
Posts: 1183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
According to the book (page 414), an XML fragment is a well-balanced subset of the original document – so we have complete tag sets.
Well-balanced is looser than well-formed - The subset may consist just of text and it may have multiple elements at the top level.
Cheers,
Dan
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic