<?xml version=„1.0‟ encoding=“UTF-8”?><!-- Human Resource data--><HumanResource>  <!-- Information for a person-->  <Perso...
<?xml version=”1.0”?><person>   <name>      <title>Sir</title>      <first>John</first>      <middle>Fitzgerald Johansen</...
<?xml version=”1.0”?><person>   <name>      <title>Sir</title>      <first>John</first>      <middle>Fitzgerald Johansen</...
<?xml version=”1.0”?><pers:person>   <pers:name>      <pers:title>Sir</pers:title>      <pers:first>John</pers:first>     ...
<?xml version=”1.0”?><pers:person>   <pers:name>      <pers:title>Sir</pers:title>      <pers:first>John</pers:first>     ...
<?xml version=”1.0”?><pers:person xmlns:pers=“http://www.example.com/pers”             xmlns:xhtml=“http://www.example.com...
<?xml version=”1.0”?><person xmlns=“http://www.example.com/pers”        xmlns:xhtml=“http://www.example.com/xhtml” >   <na...
not pointto something
XML Namespaces
XML Namespaces
XML Namespaces
XML Namespaces
Upcoming SlideShare
Loading in …5
×

XML Namespaces

1,507 views
1,409 views

Published on

XML Namespaces

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,507
On SlideShare
0
From Embeds
0
Number of Embeds
126
Actions
Shares
0
Downloads
50
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

XML Namespaces

  1. 1. <?xml version=„1.0‟ encoding=“UTF-8”?><!-- Human Resource data--><HumanResource> <!-- Information for a person--> <Person id=„1‟ slary=“500”> <FirstName>John</FirstName> <MidName></MidName> <LastName>Doe</LastName> <Position>Manager</Position> </Person></HumanResource> Document Type
  2. 2. <?xml version=”1.0”?><person> <name> <title>Sir</title> <first>John</first> <middle>Fitzgerald Johansen</middle> <last>Doe</last> </name> <position>Vice President of Marketing</position> <résumé> <html> <head><title>Resume of John Doe</title></head> <body> <h1>John Doe</h1> <p>John‟s a great guy, you know?</p> </body> </html> </résumé></person> ©Textbook – 106 page ©Textbook – 68 page
  3. 3. <?xml version=”1.0”?><person> <name> <title>Sir</title> <first>John</first> <middle>Fitzgerald Johansen</middle> <last>Doe</last> </name> <position>Vice President of Marketing</position> <résumé> <html> <head><title>Resume of John Doe</title></head> <body> <h1>John Doe</h1> <p>John‟s a great guy, you know?</p> </body> </html> </résumé></person> ©Textbook – 68 page
  4. 4. <?xml version=”1.0”?><pers:person> <pers:name> <pers:title>Sir</pers:title> <pers:first>John</pers:first> <pers:middle>Fitzgerald Johansen</pers:middle> <pers:last>Doe</pers:last> </pers:name> <pers:position>Vice President of Marketing</pers:position> <pers:résumé> <xhtml:html> <xhtml:head><xhtml:title>Resume of John Doe</xhtml:title> </xhtml:head> <xhtml:body> <xhtml:h1>John Doe</xhtml:h1> <xhtml:p>John‟s a great guy, you know?</xhtml:p> </xhtml:body> </xhtml:html> </pers:résumé></pers:person> ©Textbook – 69 page
  5. 5. <?xml version=”1.0”?><pers:person> <pers:name> <pers:title>Sir</pers:title> <pers:first>John</pers:first> <pers:middle>Fitzgerald Johansen</pers:middle> <pers:last>Doe</pers:last> </pers:name> <pers:position>Vice President of Marketing</pers:position> <pers:résumé> <xhtml:html> <xhtml:head><xhtml:title>Resume of John Doe</xhtml:title> </xhtml:head> <xhtml:body> <xhtml:h1>John Doe</xhtml:h1> <xhtml:p>John‟s a great guy, you know?</xhtml:p> </xhtml:body> </xhtml:html> </pers:résumé></pers:person> ©Textbook – 69 page
  6. 6. <?xml version=”1.0”?><pers:person xmlns:pers=“http://www.example.com/pers” xmlns:xhtml=“http://www.example.com/xhtml” > <pers:name> <pers:title>Sir</pers:title> <pers:first>John</pers:first> <pers:middle>Fitzgerald Johansen</pers:middle> <pers:last>Doe</pers:last> </pers:name> <pers:position>Vice President of Marketing</pers:position> <pers:résumé> <xhtml:html><xhtml:head><xhtml:title>Resume of John Doe</xhtml:title> </xhtml:head> <xhtml:body> <xhtml:h1>John Doe</xhtml:h1> <xhtml:p>John‟s a great guy, you know?</xhtml:p> </xhtml:body> </xhtml:html> </pers:résumé></pers:person> ©Textbook – 73 page
  7. 7. <?xml version=”1.0”?><person xmlns=“http://www.example.com/pers” xmlns:xhtml=“http://www.example.com/xhtml” > <name> <title>Sir</title> <first>John</first> <middle>Fitzgerald Johansen</middle> <last>Doe</last> </name> <position>Vice President of Marketing</position> <résumé> <xhtml:html><xhtml:head><xhtml:title>Resume of John Doe</xhtml:title> </xhtml:head> <xhtml:body> <xhtml:h1>John Doe</xhtml:h1> <xhtml:p>John‟s a great guy, you know?</xhtml:p> </xhtml:body> </xhtml:html> </résumé></person> ©Textbook – 76 page
  8. 8. not pointto something

×