Figure 2: Creating processing instructions and attributes nodes

<?xml version="1.0" encoding="UTF-16"?>
<Book Status="BackOrdered">
  <Title>Doing It - Sail Around the World</Title>
  <PubId>736</PubId>
  <Price Currency="USD">19.99</Price>
  <Author>
    <LastName>Ference</LastName>
    <FirstName>Jeff</FirstName>
  </Author>
</Book>