
464 • XML & Related Technologies
Figure 10.12 shows a sample XML document, containing the details of a credit card of a user.
<?xml version=’1.0’?>
<PaymentInfo xmlns=’http://mybank.org’>
<Name> John Smith <Name/>
<CreditCard Limit=’10000’ Currency=’USD’>
<Number> 1617 1718 0181 9910 </Number>
<Issuer> Master </Issuer>
<Expires> 05/05 </Expires>
</CreditCard>
</PaymentInfo>
Figure 10.12 Sample XML document showing a user’s credit card details
We shall not describe the various details of this XML document, and would simply remark that it contains
the credit card details, such as the user’s name, credit limit, currency, card number, the issuer ...