• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

XML Namespaces

Inexperienced programmers sometimes overlook XML's ability to partition a single document into multiple sections or to represent multiple concepts in a single document by using namespaces. These collections of tag and attribute names are bound together using prefixes, and kept separate from tags and attributes in other namespaces.

In Listing 14.9, the single company document in Listing 14.3 is extended by adding starting salary information and putting directory information in its own namespace.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint