Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

<?xml version = \"1.0\"?> <?xml-stylesheet type = \"text/xsl\" href = \"sorting.

ID: 3666312 • Letter: #

Question

<?xml version = "1.0"?>
<?xml-stylesheet type = "text/xsl" href="sorting.xsl"?>

<!-- Fig. 15.20 sorting.xml -->
<!-- XML document containing book information -->
<book isbn = "999-99999-9-X">
<title>Deitel&apos;s XML Primer</title>

<author>
<firstName>Jane</firstName>
<lastName>Blue</lastName>
</author>

<chapters>
<frontMatter>
<preface pages = "2" />
<contents pages = "5" />
<illustrations pages = "4" />
</frontMatter>

<chapter number = "3" pages = "44">Advanced XML</chapter>
<chapter number = "2" pages = "35">Intermediate XML</chapter>
<appendix number = "B" pages = "26">Parsers and Tools</appendix>
<appendix number = "A" pages = "7">Entities</appendix>
<chapter number = "1" pages = "28">XML Fundamentals</chapter>
</chapters>

<media type = "CD" />
</book>

MODIFY THE ABOVE CODE TO SORT BY THE NUMBER OF PAGES RATHER THAN BY CHAPTER NUMBER.

Explanation / Answer

I think some more information needed to do this problem. Where is sorting.xls file ???

<?xml version = "1.0"?>
<?xml-stylesheet type = "text/xsl" href="sorting.xsl"?>
<!-- Fig. 15.20 sorting.xml -->
<!-- XML document containing book information -->
<book isbn = "999-99999-9-X">
<title>Deitel&apos;s XML Primer</title>
<author>
<firstName>Jane</firstName>
<lastName>Blue</lastName>
</author>
<chapters>
<frontMatter>
<preface pages = "2" />
<contents pages = "5" />
<illustrations pages = "4" />
</frontMatter>
   <appendix number = "A" pages = "7">Entities</appendix>
   <appendix number = "B" pages = "26">Parsers and Tools</appendix>
   <chapter number = "1" pages = "28">XML Fundamentals</chapter>
   <chapter number = "2" pages = "35">Intermediate XML</chapter>
<chapter number = "3" pages = "44">Advanced XML</chapter>
  
</chapters>
<media type = "CD" />
</book>

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote