0% found this document useful (0 votes)
31 views2 pages

Id Photo: Given The Following XML Document

The XML document contains personnel information for 6 people including their names, photos, emails, links to their managers or subordinates, and URLs. It defines an XML structure with a <personnel> tag containing multiple <person> entries each with identifying attributes and data about an individual employee.

Uploaded by

Nguyen Minh Nhat
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
31 views2 pages

Id Photo: Given The Following XML Document

The XML document contains personnel information for 6 people including their names, photos, emails, links to their managers or subordinates, and URLs. It defines an XML structure with a <personnel> tag containing multiple <person> entries each with identifying attributes and data about an individual employee.

Uploaded by

Nguyen Minh Nhat
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Given the following xml document

<?xml version="1.0" encoding="UTF-8"?>


<?xml-stylesheet type="text/xsl" href="personal.xsl"?>
<personnel>
<person id="harris.anderson" photo="personal-images/harris.anderson.jpg">
<name>
<given>Harris</given>
<family>Anderson</family>
</name>
<email>[email protected]</email>
<link subordinates="robert.taylor helen.jackson michelle.taylor jason.chen harris.anderson
brian.carter"/>
<url href="http://www.example.com/na/harris-anderson.html"/>
</person>
<person id="robert.taylor" photo="personal-images/robert.taylor.jpg">
<name>
<given>Robert</given>
<family>Taylor</family>
</name>
<email>[email protected]</email>
<link manager="harris.anderson"/>
<url href="http://www.example.com/na/robert-taylor.html"/>
</person>
<person id="helen.jackson" photo="personal-images/helen.jackson.jpg">
<name>
<given>Helen</given>
<family>Jackson</family>
</name>
<email>[email protected]</email>
<link manager="harris.anderson"/>
<url href="http://www.example.com/na/hellen-jackson.html"/>
</person>
<person id="michelle.taylor" photo="personal-images/michelle.taylor.jpg">
<name>
<given>Michelle</given>
<family>Taylor</family>
</name>
<email>[email protected]</email>
<link manager="harris.anderson"/>
<url href="http://www.example.com/na/michelle-taylor.html"/>
</person>
<person id="jason.chen" photo="personal-images/jason.chen.jpg">
<name>
<given>Jason</given>
<family>Chen</family>
</name>
<email>[email protected]</email>
<link manager="harris.anderson"/>
<url href="http://www.example.com/na/jason-chen.html"/>
</person>
<person id="brian.carter" photo="personal-images/brian.carter.jpg" >
<name>
<given>Brian</given>
<family>Carter</family>
</name>
<email>[email protected]</email>
<link manager="harris.anderson"/>
<url href="http://www.example.com/na/brian-carter.html"/>
</person>
</personnel>

Write xsl file to display the given xml on browser as figure below.

You might also like