100% found this document useful (1 vote)
23 views49 pages

New Perspectives On XML Comprehensive 3rd Edition Carey Solutions Manual

The document provides information about various educational resources available for download, including test banks and solutions manuals for multiple editions of textbooks related to XML, HTML, CSS, and other subjects. It also includes a detailed Instructor’s Manual for the 'New Perspectives on XML Comprehensive 3rd Edition,' outlining tutorial objectives, lecture notes, classroom activities, and teaching tips. The manual aims to enhance teaching experiences by offering structured content and resources for instructors.

Uploaded by

eiffeperoz
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
23 views49 pages

New Perspectives On XML Comprehensive 3rd Edition Carey Solutions Manual

The document provides information about various educational resources available for download, including test banks and solutions manuals for multiple editions of textbooks related to XML, HTML, CSS, and other subjects. It also includes a detailed Instructor’s Manual for the 'New Perspectives on XML Comprehensive 3rd Edition,' outlining tutorial objectives, lecture notes, classroom activities, and teaching tips. The manual aims to enhance teaching experiences by offering structured content and resources for instructors.

Uploaded by

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

Instant TestBank Access, One Click Away – Begin at testbankfan.

com

New Perspectives on XML Comprehensive 3rd Edition


Carey Solutions Manual

https://testbankfan.com/product/new-perspectives-on-xml-
comprehensive-3rd-edition-carey-solutions-manual/

OR CLICK BUTTON

DOWLOAD NOW

Get Instant TestBank Download – Browse at https://testbankfan.com


Recommended digital products (PDF, EPUB, MOBI) that
you can download immediately if you are interested.

New Perspectives on XML Comprehensive 3rd Edition Carey


Test Bank

https://testbankfan.com/product/new-perspectives-on-xml-
comprehensive-3rd-edition-carey-test-bank/

testbankfan.com

New Perspectives on HTML CSS and XML Comprehensive 4th


Edition Carey Test Bank

https://testbankfan.com/product/new-perspectives-on-html-css-and-xml-
comprehensive-4th-edition-carey-test-bank/

testbankfan.com

New Perspectives on HTML and CSS Comprehensive 6th Edition


Carey Test Bank

https://testbankfan.com/product/new-perspectives-on-html-and-css-
comprehensive-6th-edition-carey-test-bank/

testbankfan.com

International Economics 6th Edition James Gerber Solutions


Manual

https://testbankfan.com/product/international-economics-6th-edition-
james-gerber-solutions-manual/

testbankfan.com
MKTG3 Asia-Pacific 3rd Edition Lamb Solutions Manual

https://testbankfan.com/product/mktg3-asia-pacific-3rd-edition-lamb-
solutions-manual/

testbankfan.com

Gender Psychological Perspectives 6th Edition Brannon Test


Bank

https://testbankfan.com/product/gender-psychological-perspectives-6th-
edition-brannon-test-bank/

testbankfan.com

Chemical Principles 8th Edition Zumdahl Solutions Manual

https://testbankfan.com/product/chemical-principles-8th-edition-
zumdahl-solutions-manual/

testbankfan.com

Financial Accounting A Business Process Approach 3rd


Edition Reimers Test Bank

https://testbankfan.com/product/financial-accounting-a-business-
process-approach-3rd-edition-reimers-test-bank/

testbankfan.com

Guidance Approach for the Encouraging Classroom 6th


Edition Dan Gartrell Solutions Manual

https://testbankfan.com/product/guidance-approach-for-the-encouraging-
classroom-6th-edition-dan-gartrell-solutions-manual/

testbankfan.com
Financial and Managerial Accounting The Basis for Business
Decisions 17th Edition Williams Solutions Manual

https://testbankfan.com/product/financial-and-managerial-accounting-
the-basis-for-business-decisions-17th-edition-williams-solutions-
manual/
testbankfan.com
New Perspectives on XML Comprehensive, 3rd Edition, Instructor’s Manual 1 of 12

XML
Tutorial Six:
Functional Programming with XSLT and XPath 1.0
A Guide to this Instructor’s Manual:
We have designed this Instructor’s Manual to supplement and enhance your teaching
experience through classroom activities and a cohesive chapter summary.
This document is organized chronologically, using the same heading in blue that you see in the
textbook.Under each heading you will find (in order): Lecture Notes that summarize the
section, Figures and Boxes found in the section (if any), Teacher TIPs, Classroom Activities, and
Lab Activities.Pay special attention to teaching tips, and activities geared towards quizzing your
students, enhancing their critical thinking skills, and encouraging experimentation within the
software.
In addition to this Instructor’s Manual, our Instructor’s Resources also include PowerPoint
Presentations, Test Banks, and other supplements to aid in your teaching experience.

For your students:


Our latest online feature, CourseCasts, is a library of weekly podcasts designed to keep your
students up to date with the latest in technology news.Direct your students to
http://coursecasts.course.com, where they can download the most recent CourseCast onto their
mp3 player. Ken Baldauf, host of CourseCasts, is a faculty member of the Florida State
University Computer Science Department where he is responsible for teaching technology
classes to thousands of FSU students each year. Ken is an expert in the latest technology and
sorts through and aggregates the most pertinent news and information for CourseCasts so your
students can spend their time enjoying technology, rather than trying to figure it out. Open or
close your lecture with a discussion based on the latest CourseCast.

Table of Contents
Tutorial Objectives 2
XML 326: Using XSLT Variables 2
XML 331: Copying Nodes 3
XML 335: Retrieving Data from Multiple Files 3
XML 339: Accessing an External Style Sheet 4
XML 344: Creating a Lookup Table in XSLT 5
XML 347: Working with Numeric Functions 6
XML 349: Applying Mathematical Operators 7
XML 351: Formatting Numeric Values 7
XML 355: Working with Text Strings 8
XML 364: Introducing Parameters 8
XML 368: Using Named Templates 9
XML 369: Introducing Functional Programming 10
© 2015 Cengage Learning
New Perspectives on XML Comprehensive, 3rd Edition, Instructor’s Manual 2 of 12
End of Tutorial Material 11
Glossary of Key Terms 12

Tutorial Objectives
Students will have mastered the material in Tutorial Six when they can:
Session 6.1 ⚫ Apply a number format
⚫ Create and apply XSLT variables ⚫ Extract and combine text strings
⚫ Copy nodes into the result document
⚫ Retrieve data from XML documents Session 6.3
⚫ Access external style sheets ⚫ Create global and local parameters
⚫ Explore the principals of functional
Session 6.2 programming
⚫ Create a lookup table ⚫ Create a recursive template
⚫ Use XPath 1.0 numeric functions and
operators

XML 326: Using XSLT Variables


LECTURE NOTES
• Define variable as a user-defined name that stores a value or an object, and review the values and
objects that can be stored in an XSLT variable
• Explain that an XSLT variable can be created using either an empty element or a two-sided element
• Explain that XSLT variables act more like constants because the value of an XSLT variable canonly
be defined once and it cannot be further updated
• Review the concept of scope, including a comparison of global scope versus local scope
• Demonstrate that once a variable is created, it can be referenced using the expression $name,where
name is the variable's name
• Explain that a variable can be used to store node sets, allowing you to replace long and complicated
location paths with compact variable names, making code easier to manage

BOXES
• TIP: A variable name cannot start with a number, and variable names are case sensitive. (XML 326)
• TIP: Declare your variables directly after the opening tag for the element that contains them so
there is no confusion about the variables' scope. (XML 327)
• Reference: Declaring and Referencing Variables in XSLT 1.0 (XML 329)

FIGURES
• Figure 6-1, Figure 6-2, Figure 6-3, Figure 6-4, Figure 6-5

TEACHER TIP
Stress to students that an XSLT variable can hold more than just a single value. An XSLT variable can also
contain more complex elements such as a complete node set from an XML document or an entire section of
code.

© 2015 Cengage Learning


New Perspectives on XML Comprehensive, 3rd Edition, Instructor’s Manual 3 of 12

CLASSROOM ACTIVITIES
1. Class Discussion: Prepare a list of valid and invalid variable names. Present them to the class and ask
them to determine if each is valid or invalid.
2. Quick Quiz:
• True/False: If a variable references a node set, you can use the variable in place of the node-set
reference. (Answer: True)
• True/False: You can assign the same name to a global variable and a local variable. (Answer:
True)

XML 331: Copying Nodes


LECTURE NOTES
• Discuss the challenge of writing element tags to a result document, including the role of CDATA
sections, the XSLT copy instruction, and the XSLT copy-of element
• Explain that the copyelement copies a node from the source document, but creates a shallow copy
limited to only the active node and does not include the children, descendants, or attributes of that
node
• Discuss how the copy-of element differs from the copy element by creating a deep copy of a node
set, including all descendant nodes and attributes

BOXES
• InSight: Using the Identity Template (XML 332)
• Reference: Creating a Copy of a Node Set (XML 333)
• InSight: Copying Nodes in XSLT 2.0 (XML 335)

FIGURES
• Figure 6-6, Figure 6-7

CLASSROOM ACTIVITIES
1. Class Discussion: Ask students to propose situations when you might prefer to use the copy element
to create a shallow copy of a node and situations when use of the copy-of element to create a deep
copy of a node set would be appropriate. Are there any common differences between these examples?
2. Quick Quiz:
• True/False: Many XSLT processors will not write markup tags even if they are enclosed within a
CDATA section. (Answer: True)
• The __________ element creates a shallow copy limited to only the active node and does not
include the children, descendants, or attributes of that node. (Answer: copy)

XML 335: Retrieving Data from Multiple Files


LECTURE NOTES
• Review the concept that XML data is often spread among several XML files in order to keep each
XMLdocument to a manageable size and complexity
• Provide an overview of the three ways of accessing data from multiple source documents within
anXSLT style sheet: the XSLT 1.0 document() function, the XPath 2.0 doc() function, and the
XSLT 2.0 unparsed-text() function

© 2015 Cengage Learning


New Perspectives on XML Comprehensive, 3rd Edition, Instructor’s Manual 4 of 12

• Explain that both the document() and doc() functions return the root node of the
specifieddocument, and this root node you can append an XPath expression just as you would with
location paths in the source document
• Describe the unparsed-text() function supported by XSLT 2.0, which can be used to retrieve
non-XML data, including HTML files

BOXES
• TIP: You must enter the URI for a path on the local machine prefaced with file:///, and any
spacesor special characters must be replaced with escape codes. (XML 336)
• TIP: Use the document() function when you are writing an XSLT 1.0-compliant style sheet. Use
the doc() function for XSLT 2.0 style sheets or when you are using XPath for non-XSLT applications
such as database queries. (XML 336)
• ProSkills: Problem Solving: Checking for the Existence of an External Document (XML 338)

FIGURES
• Figure 6-8, Figure 6-9

TEACHER TIP
Emphasize to students the value of checking for the existence of an external document, as described in the
ProSkills box on page XML 338. It can be frustrating to spend considerable effort writing code to access data
from an external file, only to have the transformation fail due to a missing file. Building in such a check
adds an extra level of robustness to an application when executed.

CLASSROOM ACTIVITIES
1. Group Discussion:
2. Quick Quiz:
• True/False: The data retrieved using the unparsed-text() function is read as a long text string.
(Answer: True)
• True/False: Files accessed with the document() and doc() functions do not have to be well-
formed XML documents. (Answer: False)

LAB ACTIVITY
Provide students with a sample XML file and a sample text file, and have them practice creating XSLT
style sheets to retrieve data from each type of file. Students should share their results with the class, and
discuss the differences in the code used and results as displayed when using the different source
documents.

XML 339: Accessing an External Style Sheet


LECTURE NOTES
• Review the concept of breaking up the style sheet into separate files that can be managed more
easily as a project grows in size and complexity
• Explain that one way to include an external style sheet file in the active style sheet is to add the
include element as a child of the stylesheet element
• Discuss how an XSLT processor resolves conflicts between two style components when working
with an external style sheet

© 2015 Cengage Learning


New Perspectives on XML Comprehensive, 3rd Edition, Instructor’s Manual 5 of 12

• Review the use of the import element as a method of accessing an external style sheet, and contrast
its use with that of the include element

BOXES
• TIP: If you’re concerned about name conflicts and want the active style sheet to always have
precedence over the external sheet, always use the import element. (XML 339)
• Reference: Including and Importing Style Sheets (XML 339)
• Review: Session 6.1 Quick Check (XML 341)

FIGURES
• Figure 6-10, Figure 6-11

TEACHER TIP
Emphasize to students the process used by a processor to determine priority of two conflicting style rules
when an external style sheet is used. When the processor has to resolve conflicts between two style
components, it picks the one that is defined last in the style sheet. Thus, if you place the include element
at the end of your style sheet it will have precedence over the active style sheet; on the other hand, when
the include element is placed at the top of the style sheet, any components in the active style sheet will
have precedence.

CLASSROOM ACTIVITIES
1. Group Activity: Provide students with a sample XML document and XSLT style sheet. Ask them to
create a new style sheet that will use styles from the external style sheet. In one copy, they should
include the external style sheet, and in another copy they should import the file. As a class, review
any differences or unexpected results that occur.
2. Quick Quiz:
• True/False: The import element can be placed anywhere within the style sheet as long as it is a
child of the stylesheet element. (Answer: False)
• True/False: Including a style sheet has the same effect as inserting the style sheet code at the
location where the include element is placed. (Answer: True)

XML 344: Creating a Lookup Table in XSLT


LECTURE NOTES
• Define lookup table as a collection of data values that can be searched in order to return data that
matches a supplied key value
• Review the use of lookup tables as a source of data for result documents
• Discuss the use of the current() function, which returns the active node being processed in the
style sheet, as one way to create a lookup table

FIGURES
• Figure 6-12, Figure 6-13, Figure 6-14, Figure 6-15

© 2015 Cengage Learning


New Perspectives on XML Comprehensive, 3rd Edition, Instructor’s Manual 6 of 12

CLASSROOM ACTIVITIES
1.Class Discussion: Ask students to suggest real world scenarios where a lookup table would be a
valuable resource for an XSLT application. What are some useful and unique features of a result
document you could implement through the use of lookup tables?
2.Quick Quiz:
• True/False: The current()function can be used to look up values from a data source. (Answer:
True)

XML 347: Working with Numeric Functions


LECTURE NOTES
• Review the use of numeric functions in style sheets, including an overview of the Xpath 1.0
numeric functions listed in Figure 6-16
• Discuss the use of the position()function to return the position of individual nodes within a node
set, including its application in limiting a selection to a specific set of objects

BOXES
• TIP: If XPath is unable to calculate a value because of an error in the style sheet, it will returnthe
text string "NaN" (Not a Number). (XML 347)
• InSight: Using the number Element (XML 349)

FIGURES
• Figure 6-16, Figure 6-17,Figure 6-18

CLASSROOM ACTIVITIES
1. Critical Thinking: Explore as a group the contrast in function between the position()function and
the number element. The position() function returns the position of the node as it is displayed
within theresult document, not necessarily the position of the node in the source document. The
number element counts nodes based on the source document, even if you sort the nodes in the result
document, the value returned by the number element will still reflect the original order from the
source file. Ask students to propose situations when each approach would be appropriate.
2. Quick Quiz:
• True/False: The number element returns the position of the node as it is displayed within the
result document, not necessarily the position of the node in the source document. (Answer:
False)
• True/False: The ceiling(number) function rounds a number up to the next integer. (Answer:
True)

LAB ACTIVITY
Provide students with a sample XML source document containing a variety of numeric data. Ask them
to create an XSLT style sheet that uses each of the eight XPath 1.0 numeric functions listed in Figure 6-
16 to manipulate the sample data. Ask students to share their results, and highlight unique uses or
combinations of the functions.

© 2015 Cengage Learning


New Perspectives on XML Comprehensive, 3rd Edition, Instructor’s Manual 7 of 12

XML 349: Applying Mathematical Operators


LECTURE NOTES
• Explain that writing mathematical expressions is one way to overcome the limited features of the
numeric functions available in XPath 1.0
• Review the six mathematical operators provided in XPath 1.0, as listed in Figure 6-19
• Provide an overview of the additional numeric functions provided in XPath 2.0, as listed in Figure
6-22

FIGURES
• Figure 6-19, Figure 6-20, Figure 6-21, Figure 6-22

TEACHER TIP
Remind students that mathematical division can only be done with the divkeyword and not the / symbol
becausethat symbol is reserved by XPath for use in location paths.

CLASSROOM ACTIVITIES
1. Group Activity: Provide students with a sample XML source document containing a variety of
numeric data. Ask them to create an XSLT style sheet that uses each of the six XPath 1.0 mathematical
operators listed in Figure 6-19 to manipulate the sample data. Ask students to share their results, and
highlight unique uses or combinations of the operators.
2. Quick Quiz:
• True/False: XPath 2.0 does not support the XPath 1.0 numeric functions. (Answer: False)
• True/False: Mathematical division can only be done with the div keyword and not the / symbol.
(Answer: True)

XML 351: Formatting Numeric Values


LECTURE NOTES
• Explain that XSLT and XPath 1.0 support only one data type for numbers—double precision floating
point—in which the data values are stored using eight bytes of computer storage in order to achieve
greater precision with calculations
• Review the use of the format-number() function to control the display of numeric values in result
documents
• Provide an overview of the number format symbols used with the format-number() function, as
listed in Figure 6-23
• Introduce students to the options available to format numbers for consistency with international
number formats, including the attributes of the decimal-format element, as listed in Figure 6-24

BOXES
• Reference: Formatting Numeric Values (XML 353)

FIGURES
• Figure 6-23, Figure 6-24, Figure 6-25

© 2015 Cengage Learning


New Perspectives on XML Comprehensive, 3rd Edition, Instructor’s Manual 8 of 12

CLASSROOM ACTIVITIES
1. Group Activity: Provide students with a sample XML source document containing a variety of
numeric data. Ask them to create an XSLT style sheet that uses each of the eight number format
symbols listed in Figure 6-23 to manipulate the sample data. Ask students to share their results, and
highlight unique uses or combinations of the format symbols.
2. Quick Quiz:
• True/False: The decimal-format element can be placed within a template. (Answer: False)
• True/False: XPath 1.0 and XSLT 1.0 do not support date formats. (Answer: True)

XML 355: Working with Text Strings


LECTURE NOTES
• Review the functions supported by XPath 1.0 for manipulating text strings, as listed in Figure 6-26
• Discuss strategies for extracting and combining text strings effectively using text string functions
• Provide an overview of common strategies for working with white space in source text, including
functions used to preserve, strip, or normalize white space nodes

BOXES
• TIP: Be sure to include white space characters or text separators within your concatenation or else
the concatenated text strings will run into each other. (XML 356)
• TIP: Do not use the   entity even if you are generating HTML code because that entity will
not be recognized by the XSLT processor. (XML 360)
• ProSkills: Written Communication: Removing Extraneous White Space (XML 360)
• Review: Session 6.2 Quick Check (XML 361)

FIGURES
• Figure 6-26, Figure 6-27, Figure 6-28, Figure 6-29, Figure 6-30

CLASSROOM ACTIVITIES
1. Class Discussion: The text illustrates the use of text string manipulation with the example of
formatting a date string. As a group, ask students to suggest other real world scenarios where it would
be useful to extract, combine, and/or format text string data from an XML source document. Consider
the brainstorming code examples that could be used to achieve the proposed scenarios.
2. Quick Quiz:
• True/False: If you want to insure that white space nodes are not deleted, you can apply the
normalize-space element as a direct child of the stylesheet element. (Answer: False,
preserve-space)
• True/False: XPath 2.0 includes several new functions for manipulating text strings and working
with dates and durations. (Answer: True)

LAB ACTIVITY
Provide students with a sample XML source document containing a variety of text string data. Ask them
to create an XSLT style sheet that uses at least four of the eight XPath 1.0 test string functions listed in
Figure 6-26 to manipulate the sample data. Ask students to share their results, and highlight unique uses
or combinations of the text string functions.

XML 364: Introducing Parameters


© 2015 Cengage Learning
New Perspectives on XML Comprehensive, 3rd Edition, Instructor’s Manual 9 of 12

LECTURE NOTES
• Introduce the use of parameters as a way to overcome the limitation of XSLT variables that
mandates they only be defined once and only from within the style sheet
• Describe parameters as similar to variables except that their values can be passed to them from
outside their scope
• Differentiate between global and local parameters
• Introduce the role and syntax of the param element used in defining parameters
• Explain that because parameters have their values passed to them from outside their scope, global
parameters have their values set by the processor itself (and the exact method can vary by
processor)
• Review template parameters, and explain that, as with local variables, the scope of a template
parameter is limited to the template in which it is created

BOXES
• TIP: Parameters created in XSLT 2.0 also support the as attribute to define the data type of
theparameter value. (XML 364)
• Reference: Creating and Using Parameters (XML 364)
• TIP: Make sure that the parameter name matches the name of the parameter. If you mistype the
name, an XSLT processor does not pass the value but it also does not return an error message
indicating that a mistake was made. (XML 366)
• Reference: Passing a Value to a Template Parameter (XML 368)

FIGURES
• Figure 6-31, Figure 6-32, Figure 6-33

TEACHER TIP
The command code used to transform a document while setting a parameter value differs from the
command students have been using to this point. Reinforce with students the syntax of this command, and
provide examples of its use to reduce confusion.

CLASSROOM ACTIVITIES
1. Group Activity: Ask students to write code examples to define a local, global, and template
parameter. Share these examples, and discuss differences in the code used to define each and in the
scope of each parameter type. Ask students to suggest scenarios when the use of each type of
parameter might be indicated.
2. Quick Quiz:
• True/False: The parameter cannot be passed to a template parameter from outside of the
template. (Answer: False)
• True/False: The XSLT processors built into web browsers do not allow users to set parameter
values directly at this time. (Answer: True)

XML 368: Using Named Templates


LECTURE NOTES
• Define named template as a template that is not matched to a node set but instead acts like a
function to display a calculated value or perform an operation
• Review the syntax of the xsl:template structure used to create a named template
© 2015 Cengage Learning
New Perspectives on XML Comprehensive, 3rd Edition, Instructor’s Manual 10 of 12

• Explain that because a named template is not matched to a node set, it has to be called rather than
applied, using the call-template element

BOXES
• Reference: Creating and Calling Named Templates (XML 369)

TEACHER TIP
Remind students that named templates have much in common with the root and element templates they
already have experience with. All must be separately defined and then called or applied, and all have a
similar basic foundational structure.

CLASSROOM ACTIVITIES
1. Critical Thinking Activity: The text illustrates the use of named templates with a function to insert an
image file into the result document. Ask students to suggest other possible practical uses for a named
template. If possible, have them try to write sample code to implement these suggestions.
2. Quick Quiz:
• True/False: The only element that the call-template element can contain is the with-param
element. (Answer: True)
• A(n) __________ template is a template that is not matched to a node set but instead acts like a
function to display a calculated value or perform an operation. (Answer: named)

XML 369: Introducing Functional Programming


LECTURE NOTES
• Explain that XSLT is an example of functional programming, which relies on the evaluation of
functions and expressions, rather than on the sequential execution of commands
• Explain that the loop structure is not compatible with XSLT 1.0 because the XSLT language does not
allowvariables to be redefined after they have been created
• Review the four key principles of functional programming languages, as enumerated on page XML
370
• Emphasize that the important overall principle to keep in mind with functional programs is to
thinkof tasks in terms of functions rather than loops and assignment statements
• Introduce recursion as the key tool used to repeat commands in functional programming
• Review the three key features of recursive functions as enumerated on page XML 371: a base case, a
change of state, and the function must call itself employing the change of state

BOXES
• ProSkills: Problem Solving: Choosing Functional Programming (XML 370)
• InSight: Returning Variables Values with Named Templates (XML 377)
• Review: Session 6.3 Quick Check

FIGURES
• Figure 6-34, Figure 6-35, Figure 6-36, Figure 6-37, Figure 6-38, Figure 6-39, Figure 6-40, Figure 6-
41, Figure 6-42, Figure 6-43, Figure 6-44, Figure 6-45

© 2015 Cengage Learning


New Perspectives on XML Comprehensive, 3rd Edition, Instructor’s Manual 11 of 12

CLASSROOM ACTIVITIES
1. Class Discussion: Most students with some programming experience are likely more familiar with
procedural programming languages than functional programming. Review the key features of
functional programming introduced in this section, and ask students to suggest similarities and
differences to programming languages they have worked with in the past. Ask them to propose
applications that would be more suited to one approach or the other.
2. Quick Quiz:
• True/False: Looping is the process by which a function calls itself. (Answer: False, Recursion)
• True/False: Each template can be thought of as a function, with the input being the specified
node set and the output being the result text generated by XSLT. (Answer: True)

End of Tutorial Material


• SAM Assessment, Training, and Projects: This text is available with SAM Assessment, Training, and
Projects that map directly to the learning objectives covered in each chapter. SAM's active, hands-
on training and skill-based assessment help you master Microsoft Office skills. SAM Projects let you
apply skills in real-world scenarios using the actual Microsoft Office applications. Immediate
feedback and comprehensive study guides give you the practice and support you need to succeed.
To obtain a SAM account, visit www.cengagebrain.com or contact your instructor or bookstore for
additional information.
• Review Assignments: Review Assignments provide students with additional practice of the skills
they learned in the tutorial, using the same tutorial case with which they are already familiar. These
assignments are designed as straight practice only and should not include anything of an
exploratory nature.
• Case Problems:A typical NP tutorial has four Case Problems following the Review Assignments.
Short tutorials can have fewer Case Problems (or none at all); other tutorials may have five Case
Problems. The Case Problems provide further hands-on assessment of the skills and topics presented
in the tutorial, but with new case scenarios. There are four types of Case Problems:
• Apply. In this type of Case Problem, students apply the skills that they have learned in
the tutorial to solve a problem.
• Create. In a Create Case Problem, students are either shown the end result, such as a
finished Web site, and asked to create the document based on the figure provided, or
students are asked to create something from scratch in a more free-form manner.
• Challenge.A Challenge Case Problem involves three or more Explore steps. These steps
challenge students by having them go beyond what was covered in the tutorial, either
with guidance in the step or by using online Help as directed.
• Research. In this type of Case Problem, students need to go to the Web to find
information that they will incorporate somehow in their work for the Case Problem.
A tutorial does not have to include each of the four types of Case Problems; rather, the tutorial’s
content should dictate which Case Problems to include. It’s possible, therefore, that some tutorials
might have three Case Problems of one type and only one Case Problem of a different type. To the
extent possible, the first Case Problem in a tutorial should be an Apply so that the Case Problems
progress in degree of difficulty.
• ProSkills Exercises: ProSkills exercises integrate the technology skills students learn with one or
more of the following soft skills: decision making, problem solving, teamwork, verbal
communication, and written communication. The goal of these exercises is to enhance students’
understanding of the soft skills and how to apply them appropriately in real-world, professional
© 2015 Cengage Learning
New Perspectives on XML Comprehensive, 3rd Edition, Instructor’s Manual 12 of 12

situations that also involve software application skills. ProSkills exercises are offered at various
points throughout a text, encompassing the concepts and skills presented in a standalone tutorial or
a group of related tutorials.

Glossary of Key Terms


• base case (XML 371) • parameter (XML 362)
• change of state (XML 371) • preserve-space(XML 360)
• concatenate (XML 356) • recursion (XML 371)
• deep copy (XML 333) • recursive template (XML 362)
• document()(XML 324) • result tree fragment (XML 326)
• double precision floating point (XML 351) • scope (XML 327)
• format-number() (XML 342) • shallow copy (XML 332)
• functional programming (XML 369) • substring (XML 355)
• global parameter (XML 364) • template parameter (XML 362)
• global scope (XML 327) • variable (XML 324)
• global variable (XML 327) • white space nodes (XML 360)
• identity template (XML 332) • xsl:call-template (XML 362)
• local parameter (XML 364) • xsl:copy-of (XML 325)
• local scope (XML 327) • xsl:include (XML 324)
• local variable (XML 327) • xsl:text (XML 362)
• lookup table (XML 344) • xsl:variable (XML 324)
• named template (XML 362) • xsl:with-param (XML 362)
• normalize-space()(XML 360)

Top of Document

© 2015 Cengage Learning


Random documents with unrelated
content Scribd suggests to you:
XX
"I suppose there is some painless way of putting him to death?"
The voice was Wilkinson's. He was seated on the veranda at
Cobblestone, his Morris County place, and opposite to him sat a
complacent, side-whiskered M. D. from Morristown. The
complacence of the M. D. was due in great measure to the fact that
a check reposed in his waistcoat-pocket. It was a goodly check, too;
Wilkinson had been ailing, and the bill was heavy.
"I don't want him to suffer at all," went on Wilkinson. "I merely want
him to pass away and not feel it."
"Humph! He's of no further use?" returned Dr. Parker Wetherell.
"Tigerskin is twenty years old, nearly blind, and can hardly hobble a
step. My dear Wetherell, that horse has won me no end of money on
the track! He's been worth his weight in gold! I hate to think of him
as dead." He laid a cold hand upon the doctor's. "How about
chloroform? It's safe, painless——"
"It's painless enough," interrupted the physician, "but it's not always
sure."
Wilkinson's hand trembled.
"It kills men sure enough, doesn't it?"
Wetherell shook his head.
"Not sure enough," he answered. "They come out of it when one
least expects it."
"Strychnine, then, or prussic acid?" suggested Wilkinson.
Again Wetherell shook his head.
"I wouldn't give either of them to my dearest enemy," he opined.
"My advice is, not...." He drew forth a tiny cigarette and lighted it.
"My suggestion, Mr. Wilkinson—of course I'm not a horse doctor, and
there's no charge for this—my method, rather, would be powder and
shot—the old-fashioned way...."
"Pistol?"
"Yes."
"A pistol bullet through the heart?" went on Wilkinson, his hand still
resting lightly on the doctor's and his voice trembling. "Let's see, you
know I'm going to do this thing myself,—a horse's heart is in the
same place as a man's, isn't it?" He placed his hand on the right side
of his chest about even with his shoulder.
"Good gracious, man!" piped up the doctor, growing red in the face
with laughter. "Don't you know where your heart is? Didn't you ever
go to school?"
Wilkinson flushed.
"Don't tread on facts, Doc," he protested.
"Your heart is right there," explained the physician, placing the
millionaire's big paw-like hand over the right spot, and waiting until
Wilkinson could feel it throb. "You hear it beat?" he asked. "That's
where your heart is; but don't ever shoot a horse, or a man, either,
through the heart unless you want him to suffer the tortures of the
damned. He might linger hours in terrific pain. No, no, the head's
the place...."
Wilkinson shifted his hand from his heart to his head.
"Quickly, eh?" he continued eagerly, "and painless, too."
The specialist replied in the affirmative.
"Suppose, now," continued Peter V., "that we had old Tigerskin here.
Just what part of the head would I aim at? Back here?"
"The temple," said the doctor.
"That's back here, isn't it?" persisted his patient, forcing a laugh at
his own ignorance. "Where is it on a horse, anyhow?"
Parker Wetherell touched his own forehead, and said:
"Just about where it is on a man. Right here at the side of the head
in front of the ear."
Wilkinson had withdrawn his hand and was tapping the table in front
of him nervously.
"Doc," he insisted, "just put my finger on the spot—here on my head
—and when I get Tigerskin, why then I'll know...."
The physician seized his patient's pudgy finger, held it for an instant
poised half an inch from the big man's head, and then jammed it
into the temple with precision.
"There," he exclaimed, "that's just the spot!"
"You don't say," returned Wilkinson. "I never would have thought it—
and a ball through there would do the trick?"
"Man or beast—he'd never know what struck him." And then as
Wilkinson removed his arm, the doctor sprang forward in alarm, and
added: "Why, look, here, Mr. Wilkinson, you've smeared a lot of ink
up there!"
"Where?"
"On your temple. Your finger must have dipped into the inkwell...."
Wilkinson looked at his finger with a grimace, then he looked at the
surface of the table upon which was a round, wet splotch of ink.
Upon the end of his finger, which evidently had rested for an instant
upon the spot on the table, was a similar splotch; and when
Wetherell had jammed the finger into his temple, it being still moist
with the dusky fluid, it had left a small round spot on his forehead.
With a hasty movement Wilkinson drew forth his handkerchief and
started it on the way to his head.
"Hold on!" he suddenly exclaimed. "I'll get my kerchief stained, too.
I'll go to the bathroom and wash it off, if you'll excuse me."
Wilkinson rose, but some sudden tremour seemed to seize him.
"Nerves a bit shaky yet, Doc," he complained. And, turning, walked
through an open window. Behind the palms his daughter Leslie was
reading a book; she had heard scraps of the conversation without,
and glanced up at him questioningly. "Trying to find out just where
to shoot old Tigerskin," he stopped to explain, "and got myself all
ink."
Leslie laughed, and he continued his way through the room and up
one flight of stairs to the bathroom.
"A bull's-eye—a perfect bull's-eye that," he whispered to himself,
looking in the glass. Then suddenly whipping out of his hip-pocket a
revolver, he aimed for the small, black spot upon his forehead.
Parker Wetherell, M. D., down on the veranda, having taken from his
waistcoat-pocket Leslie's check, was glancing on it with reverence;
but soon the reverie into which he had plunged was rudely
interrupted: a pistol shot rang out, followed almost instantly by a
woman's scream. Wetherell leaped to his feet.
"He tricked me," he whispered, turning pale, "the painless method
was for himself, not for Tigerskin."
With an answering shout he ran pell-mell up the stairs. In the
bathroom he found three people: Hawkins, Wilkinson's new valet,
Leslie and Wilkinson, the latter swaying to and fro in the grasp of the
other two. In his hand he held a smoking revolver; and as the doctor
seized him, he smiled a ghastly smile and exclaimed:
"I missed it, Doc! Missed!... My little painless program didn't pull
through!"
That night all Morris County, all New York, had the news, specials
having been gotten out by the various papers to that effect.
"It's up to you, Hawkins," said the District Attorney over the wire to
Wilkinson's new valet; "we've got to have this man alive, and not
dead. You've got to be Johnny-on-the-spot every minute of the
time."
And that was precisely what was the trouble, so far as Wilkinson was
concerned. Hawkins was too much Johnny-on-the-spot to suit his
purposes. Down in his home on the Drive Jeffries had resigned from
his position, and the new man who took his place was one of
Murgatroyd's shrewdest men, which meant that Peter V. Wilkinson,
under a ten-year sentence, out on a million-dollar bail, was
surrounded by a net-work of Murgatroyd's making. Murgatroyd was
seeing to it successfully that Wilkinson couldn't run away. Wilkinson
had said that one of three things confronted him: prison, flight or
suicide. The second seemed to have been eliminated from the
program of possibilities; the first he had sworn never to endure; and
as for suicide, Murgatroyd had said it was up to Hawkins.... But
there were other guards also who interposed: Leslie watched her
father as a mother watches an errant child. Wetherell, too, sniffing
more big checks, suggested other safeguards, and called with undue
regularity. Every servant in the household and even the pudgy Mrs.
Wilkinson herself—Flomerfelt had warned her that his death now
would upset all their plans—kept on the look-out. Morristown
druggists were warned to be sure to whom they sold poisons.
Express and mail packages were scrutinised with care. No end of
precaution was being exercised to thwart his plans.
"Seems to be an awful lot of fuss about it," remarked Mrs. Peter V.,
as she scanned the daily press. "If I tried suicide, I wonder...."
"Probably not," grinned Wilkinson, feebly, "unless you succeeded in
the attempt."
Now Murgatroyd's men were handicapped in one respect:
Murgatroyd never trained detectives to be servants; he trained
servants to be detectives. Hawkins, the valet, and Watson, Jeffries'
successor, were born to yellow plush, and had acquired the detective
polish later. Their handicap was, that they must maintain their
character as servants. They must obey, must efface themselves,
must serve ... otherwise the game was spoiled. When Wilkinson
roared a command which sent them off for half an hour, they had to
go. But the intervention of the family now helped them out: it
became an unwritten rule that Peter V. must never be left alone,
save in the night-time when he slept in an apartment stripped of
everything save a bed and chair. This last arrangement he consented
to only after Wetherell had threatened him with sanatorium
confinement.
It happened, therefore, that one day, Wilkinson, weary of this close
surveillance, remarked to Leslie:
"Let's go back to the Drive, child. I'm sick of the still nights up here."
And indeed Leslie was not sorry of the opportunity to go. There was
one reason in particular for this: Cobblestone was but a quarter of a
mile away from the Ilingsworth place; and Ilingsworth's place, like
its former owner, had become a wreck. It was overgrown with
weeds, was falling gradually to pieces; upon it had been laid the
heavy hand of disuse and decay. The heavy mortgage on the place
had been foreclosed; the property laid vacant, idle; it had become
an eye-sore to Leslie. Besides, vague rumour had it that the place
was haunted—lights, even, having been seen in the rooms at night.
It was none of these things, however, that had disquieted Leslie, but
the fact that one night at dusk as she tripped along the road, a man
had darted from the road-side, and laying a detaining hand upon her
arm, had said to her:
"I wish you could help me find my daughter. I've tried to beg,
borrow, steal even, to get enough to find her, but——" he had
stopped to search her face, "but you're a Wilkinson, I see; you
wouldn't help;" and letting her go, he suddenly disappeared in the
shadows.
Naturally, the girl had been frightened. Afterwards, however, she
regretted that she had not tried to detain Ilingsworth, for he it was,
since there were mysteries about him which she could not
understand. If he had lost his daughter, why did he not use the
money that he had stowed away—the millions that her father had
told her about,—and why was the mortgage on his place foreclosed?
The mortgage on her own father's place had not been foreclosed,
she was sure of that. And so insistent became the pressure of these
doubts that one night just before they returned to town, she sent a
servant over with a note to Ilingsworth. Leslie knew him for a
murderer, a forger, a perjurer, a thief, and yet some instinct drove
her to this act.

" ... Some time," she wrote, "when we are out of our own
trouble, if there is anything that I can do—for Elinor—believe
me I shall do it—the very best I can."

It now became known throughout the Wilkinson household on-the-


Drive—and, likewise, to the inner sanctum of District Attorney
Murgatroyd's office—that Peter V. Wilkinson contemplated a trip to
Maine. There was reason for it: the city sweltered in mid-August
heat. Peter V. had no house or shooting-box in Maine—his game
being men, not beasts,—and accordingly a suite of rooms at a hotel
was engaged by wire. Railroad tickets were purchased; trunks were
packed; appointments made with his nearest and dearest friends to
meet him there for a three-weeks' jaunt. Every essential detail was
attended to; nothing was overlooked. But there was one strange
thing about it all: Leslie, who usually accompanied him, was to be
left behind; Wilkinson was going alone with Hawkins. It was his
frolic; he did not want to be hampered by anyone. But Hawkins and
the District Attorney knew that Wilkinson would not be lonely: a
chambermaid to have charge of his suite of rooms at the hotel in
Maine was despatched from the Borough of Manhattan; two bell-
boys were installed; from the instant that Wilkinson should reach the
East Side pier in New York he would be attended by a drove of
sleuths.
But did Wilkinson have any suspicion of all this? If he did, not by
word or look did he betray as much.
On the day of his departure, Peter V., with a matter-of-fact air,
handed to Hawkins a small, oblong, heavy, cold, metallic package,
saying:
"Hawkins, just stick that in my suit-case."
Alone, later, the valet opened and examined the package, and found,
as he suspected, that it contained another revolver, hammerless,
sinister, ominous.
"Suicide in Maine!" He emitted a whistle, and added: "Not if I know
it, Mr. Wilkinson."
He discussed at length with Murgatroyd the ease with which
Wilkinson might throw himself overboard, or might shoot or poison
himself in his stateroom. But "Hawkins, it's up to you to see that he
doesn't ..." was all the satisfaction that he received from the District
Attorney.
Their preparations completed, Hawkins now stepped into the
presence of his master, and announced:
"Colonel Morehead, sir, to see you."
Wilkinson descended to his Den, entered and locked the door behind
him. After fifteen minutes of desultory conversation, he held out his
hand, and said, his voice trembling:
"Good-bye, old boy! We shall never meet in life again—good-bye!"
Colonel Morehead stared curiously at his client. He asked no
questions, but merely took Peter's hand within his own and pressed
it hard.
"Good-bye, Peter," was all he said.
Wilkinson, watch in hand, stood at the open door.
"Look sharp, now, with those grips," he directed. And turning to
Watson, his new footman: "Watson, time is the essence of this thing.
Go up and help Hawkins, and be quick about it, please."
Out of the corner of his eye, Watson glanced at Wilkinson; that
gentleman was holding his gaze upon his watch. It all seemed
safe.... So Watson obeyed, running swiftly down the broad hall and
swiftly up the stairs.
"Get a move on, Hawkins," he whispered; "he's down there all
alone."
The multi-millionaire waited until Watson was well out of sight, then
going quietly to the open door he passed through, and walking
rapidly to the corner of the street, turned and disappeared—
disappeared, and that was all that could be said about it. No, there
was this to be said: His trunks went on to Maine, and when opened
there later were found to reek with poison—anæsthetics, chiefly,
that stupefied and killed; while tucked away in one corner was a
gun. Wilkinson had been cunning: he had done things under the
nose of Hawkins that Hawkins had not surmised, much less seen.
But Wilkinson had not quite disappeared after all! There were some
who saw him after his disappearance, though they were not
members of his household, nor were they officials in the employ of
the county or State: they were casual observers, mere pleasure-
seekers down at Brighton Beach. For later on that day a man with a
bristling beard stepped into Obermeyer's Bathing Pavilion at the
Beach, stepped up to the desk, as he had done several times before,
—for Wilkinson loved promiscuity—he was essentially of the people,
—and nodding to the clerk, passed out his wallet, his pin and other
valuables, sealed them in an envelope, writing his name quite plainly
upon it, and handed it to the man behind the desk. The recipient
glanced at the name, glanced at the man interestedly, then gave him
a fifty-cent bathing-suit, two checks on rubber strings and a key;
and Wilkinson, taking these, proceeded to his allotted booth.
"Can I check that, too?" the clerk called after him, referring to a
brown paper parcel which Wilkinson carried under his arm. But
Wilkinson shook his head, and the incident passed out of the clerk's
mind, for the next man was becoming angrily insistent.
Once inside his booth, Peter V. stripped to the skin and donned the
bathing-suit. So far he had followed the prescribed method of
bathers at Obermeyer's as well as every other pavilion in the
universe. But at this juncture he departed from custom: For having
donned the bathing-suit, he did not, as other men do, unlock the
door and run flat-footed to the beach; instead, he opened the brown
paper bundle and looked over its contents with considerable
satisfaction. It contained a complete suit of underwear, clothing, hat
and shoes—all second-hand; and over his Obermeyer bathing-suit he
drew on these clothes, one by one, jamming the soft, felt hat upon
his head. Then folding up the brown paper he tied it carefully with
the string, and placed it in the side-pocket of his coat, taking good
care at the same time to remove from the trousers pocket of the suit
he had discarded a goodly roll of bills.
Now fully dressed in his new garments—leaving his own clothes
behind, he left the room, and locked the door, forgetting neither his
brass checks, nor to place the bathhouse key on the ledge above the
door.
"So far so good," he whispered to himself.
Curiously enough, however, he did not join the crowds upon the
beach, but sought another bathing pavilion a quarter of a mile away
—Helmstaedter's—where he was not known. There he repeated the
process: went to the desk; obtained a twenty-five cent bathing-suit,
but this time he deposited no valuables, having none that were
visible. Then with his second bathing-suit he stepped into one of
Helmstaedter's dressing-rooms, and again he undressed, stripping to
the skin as before, and donning now the Helmstaedter bathing-suit,
he opened the door, closed it behind him, and took his way to the
beach.
And now, since Peter V. had gone to Brighton Beach for the
ostensible purpose of bathing, Peter V. bathed. But strangely
enough, though he had Helmstaedter's bathing-suit upon him, he
did not bathe from Helmstaedter's; on the contrary, he strode up the
beach and bathed at Obermeyer's. An expert swimmer, he was
known to the life guard, who saw him and warned him with:
"Better look out, Mr. Wilkinson, two big men had cramps out there
yesterday. I had the time of my life bringing them in."
"Never mind me," laughed Wilkinson, "there's no fear of my having
cramps to-day." And with that he plunged boldly into the surf. When
the life guard last saw him, Wilkinson was merely a speck far out
upon the surface of the sunlit sea.

That evening, while all New York was looking for him, while Hawkins
and Watson were being soundly rated by the District Attorney, while
Flomerfelt and Mrs. Peter V. were laying new plans, while Leslie wept
in the silence of her room, that evening one of the Obermeyer
helpers making his rounds, discovered the clothes of Peter V.
Wilkinson, the Trust Company man, in his booth. The clerk at the
desk produced the banker's wallet containing hundreds of dollars,
his pin and other valuables. But the bathing-suit, the brass checks,
and Peter V. Wilkinson were nowhere to be found.
"Suicide," at once said the press; family and friends said "drowning
accident," and the life guard backed them up. Furthermore, Hawkins
produced the pistol and poisons taken from the trunks in Maine—
evidences of suicidal intent. These strengthened and deepened the
theory of suicide. Even Murgatroyd, after thinking it over, was
satisfied that such was the case. As for Colonel Morehead, he would
sit for hours in his office, staring at the wall, never coming to any
conclusion. "Peter's certainly got me guessing," was the way he
acknowledged his inability to solve the problem. Nor did the ocean
ever give up Peter from its capacious depths.
Of all the men in New York County there was one, however, who had
a theory. This man was tall, slender, handsome, a man in authority.
After the county detectives had given up the search, and after the
newspaper reporters had faded from the scene, this man quietly
went down to Brighton Beach and interviewed the clerk.
"I wonder," he asked himself, as under his gruelling cross-
examination the clerk searched the remotest confines of his memory,
"I wonder what Wilkinson had in that brown paper bundle, and what
became of it. Was it drowned, too?"
But of all the people down at Brighton Beach, only one man knew
the movements of Peter V., and that was Peter V. himself. He had
had his swim; he had gone far out, ducked and swam under water
for a distance, and finally had gone ashore near Helmstaedter's
pavilion—Helmstaedter's pavilion, where he belonged and where he
was not known. Dripping, glowing from his bath, he had entered the
pavilion with hundreds of bathers and gone at once to his booth.
The rest was simple. Having dried himself, he once more donned the
dry, Obermeyer bathing-suit, drew on top of that his second-hand
suit of clothes, smashed his soft hat down on his head, and left the
pavilion by the street entrance. And pushing through the back
streets and alleyways which were crowded with the cheaper order of
pleasure-seekers, eating "hot-dogs," he darted into a barber-shop
and leaned back in the chair with a grunt of satisfaction.
"Too hot for spinach, Tony," he remarked in the genial vernacular of
the day, "so shave her off."
Tony did as he was bid; and when Wilkinson rose and glanced into
Tony's glass, he looked upon a countenance that he would never
have recognised for his own. In former days his cheeks were plump
and muscular, his chin bold, and his lips expressive. But for some
years now a beard had covered his face; his lips and chin and jowls
had been unused. So that not only was he not the Peter V. Wilkinson
of the present day, but he was not the Peter V. Wilkinson of any day:
he was just a very average man in a second-hand suit of clothes.
"So long, Tony!" he sang out, and soon he was lost in the crowd.
XXI
Wandering aimlessly through Madison Square Park one evening ex-
Governor Beekman suddenly felt someone tugging at his arm, and
swinging round quickly to shake himself from the other's grasp, yet
glancing down to see what sort of a person had accosted him, he
saw that it was a woman, that she looked pale and weary, that her
clothes were very shabby, and that she seemed to be in sad straits.
Instantly he was conscious of a feeling of pity for her, at the same
time he was angry with himself, angry with the fates that prevented
him from doing what he had repeatedly done under similar
circumstances in times past. For Beekman, always a tender, kind-
hearted fellow, had never been one to look down upon less
fortunate beings, and rarely lost an opportunity whereby he might
do a kindness to some poor unfortunate.
"What do you want of me?" he asked, not unkindly.
"I—I've been looking for you," said the woman. "I——"
The man pulled himself up quickly. Here was someone who knew
him, and of late he had been shunning the sight of his
acquaintances. Again he shot a sharp glance at the woman: the
intruder was Madeline Braine. The moment that he recognised her,
Beekman was aware of a spasm of pain; too well she brought back
to his memory the things he was trying to forget; nevertheless, he
said with a pleasant smile:
"Why, of course, you're Miss Braine. I know you now. How stupid of
me.... But what do you want of me?"
The woman did not immediately answer. She stood by him silent,
motionless, looking vaguely into space. After a while she said
falteringly:
"I—I don't know what I wish with you. Really I—misery——"
" ... loves company," he finished for her under his breath while
reflecting: "How can one man be responsible for so much?" for it
had been borne in upon him that the woman, like himself, was a
social outcast with the hand of Wilkinson heavy on her, still pressing
her down though he was no more.
The woman seemed to have read his thoughts, for she broke in
upon them with:
"Oh, you didn't know Peter V. Wilkinson as I did! I've felt his force,
sir, indeed I have.... But we won't talk about my story.... Won't you
tell me yours, for I know——" She stopped abruptly and looked up at
him, a strange, pathetic look in her eyes. And whether it was her
rare beauty that appealed to him, or that she was so intensely
human toward one who had been thrust into the gutter, at any rate
she seemed like a bit of heaven opening up to him.
Therefore it was not long before he was pouring out into her ears all
his sufferings at the hands of Wilkinson, and already he was
beginning to like her because of the sorrow they had in common.
"Tell me," he said to her, "how can a man like that set my friends
against me—hound me out of my clubs."
"I read about you and the Barristers'. You were treasurer—they
claimed your books were crooked. I knew——"
"My bookkeeper must have been one of Wilkinson's men. Of course I
made it good. But that was nothing compared with the charge itself
—enough to damn any man! I had investments, mortgages, but how
he succeeded in tying up those properties in a night, destroy the
neighbourhood, cut their value in two, is what dazes me. The power
of the man is beyond me—I can't understand it."
"I can understand it all," she answered, "only you've injured him
more than I ever did."
"There is Judge Gilchrist, for instance," he went on, "what hasn't he
done to him? The man's reputation is gone, and as for mine...." He
held his head very high. "They may have robbed me of my money,
my clients may have been forced to leave me, but there's one thing
they can't do to me—they can't take my profession from me. The
Judges know—they believe...."
"But Wilkinson could have you disbarred if he were alive, you must
know that," she insisted hopelessly.
"Never!" he answered defiantly. "He can't fool the courts. And some
day I'm going to climb back ... even if I have to crawl there on my
hands and knees."
"I'd like to help you win your place back in the world," she spoke up,
remembering his kindness to her, then she stopped, her face
flushing with the sudden realisation which was forcing itself upon
her, that who was she to stand beside any man in his fight against
the world, she, a creature rejected by everyone, penniless, with a
fight of her own on her hands?
"I shouldn't have said this," she went on by way of explanation. "I'm
rather a weak ally to"—she paused to push back a stray lock that the
wind insisted upon blowing in her face, but in reality it was to brush
away the tears that clung to her eyelids. Beekman saw this, and his
heart went out to her, for he knew that hard as was his lot, hers
must be infinitely harder.
"It wouldn't have been so," presently she continued. "But there was
no one to care for me—no one to care what became of me. I was a
silly, vain creature like thousands of others...."
For some time the conversation held to this strain. At last the girl put
out her hand and said with a faint little smile on her lips:
"Governor Beekman—for I must still call you so—it looks like a case
of down and out for both of us. If you'll give me your address, I'll
give you mine. One can never tell, you know...."
"That's very true," he answered sadly, and proceeded to scribble his
name and address on a leaf of his note book, tore out the leaf and
passed it over to her; then scribbling her address, as she repeated it,
upon another leaf, he added with genuine sincerity: "If I can ever be
of service to you, Miss Braine, don't hesitate to call upon me." He
took the hand which she gave him, and once more their ways
parted.
The next morning Beekman's superior—Beekman had obtained a job
with the Title Company, after he had been frozen out of his law
practice—called him into the inside office.
"I'm sorry to tell you," he began, "it's not personal with me at all,
but the company have given me orders to ask you to resign...."
"I knew they would," said Beekman, pocketing his salary. "I expect
to spend the rest of my natural life in resignation. I've resigned from
six positions now, and am being kicked out of the seventh. I bear no
malice to anybody except the man above.... If he's alive, I hope to
get him one of these days; if he isn't," he smiled genially, "why, he's
getting his reward right now."
The hounding of Beekman had become an easy matter. Once driven
out of independent business and shunned by people of his kind, he
was forced to apply for salaried positions. After that the story was
always the same, except that each time he kept asking lower and
lower wages, getting them until he was turned off. And he was
always turned off—no longer was his resignation requested.
" ... we can't have a thief in our employ," was the customary remark.
Some imputed to him hideous morals; others charged him with
drunkenness, but always with the same result.
In the beginning he had thought of leaving town and going West;
but the Beekman grit was in him and it declined to capitulate.
"I'll fight it out here, alone," he had told himself a thousand times,
"here, where I belong—where she is. I'll fight—I'll never run
away...."
The temptation to escape he had put behind him long ago, but there
were other things that assailed him. He had the name of everything
that was disreputable, he knew that. Even the newspapers from time
to time referred to him as being connected with fracases that never
had occurred, or if they had, had happened in his absence. Day after
day, night after night he walked the streets with shame clinging to
him. To-day he held his position, but never knowing when the
merciless hounds of the Wilkinson system would corrupt his
employers and turn him out. He grew shabby, shabbier, and all too
swiftly, too. But he was glad of one thing: his pride had never left
him; he kept himself neat and clean. He felt, though, that these
were things that would slip from him as he slumped down into the
army of the unknown. Many times he had to combat the temptation
to take to drink, to drugs, to the comfortable vices of the vagabond.
"I've got the name," he told himself, "the name,"—and
unquestionably Leslie believed it—for would not he have believed
these things of his dearest friends had the evidence been the same
as it was in his own case?—"And that's where Wilkinson was strong
—he always had proofs.... Yes. I've got the name, why not the
game?" he would reason, as he kept slipping down, down, down.
But through it all the same instinct kept him straight. "I'll stick it out
alone," he kept saying over and over again. Leslie had told him once
that he was a man of destiny, and he still felt it. As long as there
was life there was hope. Help must come to him in some form some
day, and when he faced her, he must face her clean. Never once did
he blame her for his plight. He saw too well and clearly that she,
too, was the victim of the Wilkinson system, and all the more so
because she was Wilkinson's daughter. In Beekman's mind the truth
was slowly forcing itself that Leslie's plight was worse than his, for
she was unconsciously the innocent instrument of vengeance.
"I've got to stay decent for her sake," he kept repeating to himself.
But as time went on, one horrible temptation kept pressing, closing
in upon him.
Night after night he haunted the more isolated East Side piers. Night
after night he glanced down into the smooth, dark waters flowing
silently past him, with a glance that held within it some deep
meaning. Night after night as his body became lean and gaunt, as
the lines deepened in his young face, as his pockets emptied
themselves, magically, so it seemed, as he stared starvation in the
face, the waters seemed to beckon to him, and death seemed,
somehow, pleasanter than life.
The time had come when he knew, when he was assured past all
mistake, that he was at his rope's end.
"I'm down at the bottom of the pit and there's no way up," he
whispered to himself, and held out his arms for an instant toward
the waters. "There's no way out but you, you," he went on, his
purpose clinging desperately to him. He stopped and drew back from
the edge and crouched against the stringpiece. For across the pier
something had arrested his attention. A shadow deeper than the
night, and part and parcel of the night itself, was creeping toward
the edge. This shadow was the only moving thing that Beekman had
ever seen upon this lonely pier. His nerves became suddenly alert,
for now he saw that this shadow was a human being—a woman
bent upon a woman's desperate purpose. He watched the shadow
spellbound.
Suddenly the woman lifted her hands high above her head, and with
the wail of a hunted animal, cast herself off the stringpiece and into
the river underneath.
In the twinkling of an eye he had jerked off his coat and shoes and
thrown himself into the stream. He caught her as she came up, but
she clutched him and struggled, not to save herself, but to cast him
off. Like a maniac she fought and the two went down together,
Beekman gurgling in distress. By some superhuman effort he
conquered her underneath the water, and coming up, held her, limp
and inert with one hand, while he swam slowly, for his strength,
owing to starvation, was fast ebbing. Somehow he managed to climb
up the rough sides of the pier, bundling her up ahead of him, and
laid her down, unconscious, on the stringpiece, where she lay for
some time. When she had revived, however, the mania once more
possessed her.
"Leave me alone, please leave me alone!" she cried, her strength
returning. "You've no right to interfere—no right to touch me...."
Beekman held her tight until her paroxysm ceased, and once more
she lay inert in his arms. Finally she opened her eyes and looked
about her.
"You're going to come along with me," he told her gently, forcing her
on; but she tried to tear herself loose again. After a little while he
succeeded in getting her to the street, but there, with some strength
more powerful than his, she suddenly jerked herself from him and
held him at arm's length, though he still held his grip upon her
wrists.
"Let me go! Let me go, I say! I'm tired—tired of men—tired of men
like you!" she wailed. "I want to go home—I want to go back to my
father—back to my father...."
And still he held on to her, held on until he got her underneath the
street lamps, where he looked into her face. She was worn and
haggard, but her dark, lustrous eyes were something to remember.
"She must have been very beautiful," he thought, and wondered.
"Look at me!" he said in a voice that startled her into consciousness;
"you've got to trust me! I'm going to take you home——"
"My home?" she cried feebly.
"Yes. Where is your home?"
The girl made no answer, but commenced to weep. At length, she
said:
"If I had a home, do you suppose I would have attempted what you
have just prevented me from doing? Home? Let me go, please let
me go!" and again she fell to sobbing.
"Then I'll take you to my own home," he said; and added to himself:
"I'm good for one more day there at any rate."
"No, no, no!" she cried, trying to break away from him. "I want my
father, just father—Oh, father...."
"Don't fight against me. I'm going to help you to find your home,
your father. Come, trust me!"
And the girl, too weak to resist him any longer, allowed herself to be
led away by him.
In a cheap hotel on this same East Side a man sat among other men
of his own type, drinking with apparent gusto a huge glass of beer.
Between sips he smoked a pipe. His clothes were soiled, stained
with tobacco, they reeked with the odour of the place. He had just
finished telling a story to an English sailor, who slapped his thigh and
howled in glee.
"That's a good 'un, matey!" cried the sailor. "But I arn't got one to
match it, stow the luck!"
The storyteller's last chuckles had subsided and he had drained his
glass to the dregs, when suddenly a man entered the place and
thrust himself into the group that sat around the table. This
newcomer was of a different class from the others. He was tall,
square, handsome, and his air and clothes and manner betokened
one of the better classes. The genial storyteller set down his glass,
grinned once more at the English sailor, and then following the
sailor's glance, looked up at the stranger. He found the stranger was
glancing down at him with an intentness that was disconcerting, to
say the least.
The stranger slowly extended his hand toward the group, his
forefinger levelling itself in the direction of the genial storyteller.
"I want to talk to you," he said.
The man at whom he pointed faltered for an instant. His first instinct
was to give the signal and get his cronies to bear down upon this
stranger and throw him to the ground.
The stranger—who was no other than Leech, an Assistant District
Attorney of the County of New York, who had become famous chiefly
as the lawyer who had sent Peter V. Wilkinson up for a ten-years'
term—saw the look, interpreted it correctly, but he only laughed in
the man's face.
"There are three of my men outside," he whispered, bending down,
and then straightened up once more. "Where can we talk?" he
asked.
The other man lumbered to his feet and bowed awkwardly, saying:
"Excuse me, gents."
At the foot of the stairs that opened near the street, Leech held the
other in conversation for an instant—just long enough to permit
three men without to see his man. None of the three knew who he
was, but all knew that they should know him at any future time.
The next instant the two had passed upstairs, where the man had a
room.
"Well, Wilkinson," said Leech, once they were behind closed doors,
and passing over a fifty-cent cigar, "you turned it pretty neat, but
you didn't fool me."
"I see I didn't," returned Wilkinson, limply.
"You were going to stay here until you could make a get away, I
suppose," went on Leech. "You did it cleverly, but," he shook his
head, "there was a man cleverer than you in little old New York—
that's me."
"You're an intruder," retorted Wilkinson, leaning over toward the
other. "I was just getting used to the life here—liked it, in fact."
"It's the butcher blood coming out in you," conceded Leech.
"Reversion to a type. I suppose this is really where a man like you
belongs."
"Who else knows about me?" asked Wilkinson, coolly enough.
Leech screwed up an eye.
"Did you think I was fool enough to give you away?" He paused a
moment to watch the effect of his words upon the other, then he
went on: "Nobody followed you up—nobody knows but myself.
Listen, Wilkinson, and I'll tell you how you did it."
And Leech proceeded to detail Wilkinson's escape and the method of
it in such correct and graphic terms that Wilkinson's eyes bulged
wide with terror.
"How did you know?" gasped Wilkinson.
Leech crooked his forefinger.
"Because," he declared, "there's nothing new under the sun. The
thing you did was done by a bank cashier in California ten years ago,
and one of the few people who knew about it was myself. It's not
down in the books. You thought it was new; I knew...."
They smoked in silence for a while, Wilkinson all the time staring at
the other. Finally he spoke.
"Well, the jig is up, so far as you and I are concerned, and the
question now is, what do you want of me?"
Leech hesitated a moment, before answering:
"I want a cool million to let you go."
Wilkinson grunted.
"When you told me you were the only man who knew, I figured out
that was your game. But what about these chaps downstairs?"
"They're not county men," assured Leech, "and they don't know a
thing about it."
"A million dollars," mused Wilkinson. "Where would I get it?"
Leech blew smoke rings toward the ceiling.
"I refuse to discuss that part of it," he answered, "only it's a million
now. Later on it may be two, you know."
The banker knitted his brows.
"And what do you do for that million?" he said.
"Keep my hands off and my mouth shut, that's all."
"How long a time will you give me to think it over?"
"How long do you want?"
"Three days."
Leech shook his head.
"It will be three millions by that time; besides, this thing has cost me
money. I've got to keep these chaps on the job, you know."
Wilkinson rose, and said:
"Give me until eight o'clock to-morrow morning. You'll find me here."
Leech thought a moment, and then shaking his finger at the
millionaire, he said:
"Don't you try to get away, Wilkinson, because...."
"That part of it is all right," growled the other. "By the way, won't
you stay and have a schooner of beer? No? Well, eight to-morrow
morning, then."
Leech left, Wilkinson looking after him wistfully as he went out.
"Clean-cut proposition, that Leech," he reflected to himself.
There was a tap on the door. And to Wilkinson's "Come in," Leech
reappeared.
"I merely wanted to send my regards to Miss Leslie," he said, "in
case you call her up."
"I won't call anybody up," growled Wilkinson. "My people don't know
anything about me other than that I'm dead."
Nor did Wilkinson call anybody up. He merely stopped drinking beer,
went downstairs and got a handful of black cigars, and then
returning to his room smoked all through the long night, that is, until
two o'clock in the morning. At that hour he heard a church bell
chime and started for the window. In the moonlight the dingy
backyard seemed peaceful and deserted. He took off his shoes and
stole out upon the fire-escape; and climbing carefully down rung
after rung until at last he stood on terra firma, he then started for a
secret alleyway which, as he had ascertained, had been used in
frequent evasions of the police. But no sooner had he started toward
it than a hand was laid upon his arm; and turning, he found himself
face to face with one of Leech's plain-clothesmen.
"Taking the air?" queried the man, pleasantly, deepening his hold on
the arm of Wilkinson.
"No," said Wilkinson, looking about the squalid backyard, "but I saw
somebody moving around down here—must have been you—and
mistook him for a burglar. Thought I'd scare him off."
"He didn't scare," said the sleuth, drily. "Shall we—er—return?"
They returned, the detective lounging, wide-eyed and comfortable,
upon the fire-escape above, while Wilkinson drew off his clothes and
slept like a log for the remainder of the night. At eight o'clock in the
morning he was up and dressed; and at eight o'clock Leech
appeared. But no sooner was he in the room than Wilkinson drew on
his slouched hat and seized Leech by the arm, saying:
"Come on, I'm ready."
"Where are you going?" cried Leech, in alarm.
Wilkinson grinned.
"I'm going to give myself up to Murgatroyd," he said.
Leech winced. It was a blow between the eyes and he felt it.
"The devil you are!" he cried. "But why?"
"Because," said Wilkinson, slowly, "I know chaps like you. A man
who can be bought for a million, can't be bought for ten million,
that's what I mean."
"Explain yourself," stammered Leech.
"When you get the million you'll come back for more. You'll never
lose sight of me—eh?" Wilkinson's grin widened as he saw the
telltale flush upon the cheek of the man before him. "You'd come
back for more and more. That I wouldn't mind, but in the end when
I refused you'd call my bluff—you'd kill the goose that was laying the
golden egg. You'd give me up one year, two years hence—you know
you would."
Leech was silent; he was floored.
"Besides," went on Wilkinson, calmly, "there would always be the
danger of my discovery by Murgatroyd. The sword of Damocles
would forever be over my head. I'll make an end of it; I'll give myself
up...."
"Just as you say, Wilkinson," returned Leech, feeling all the while
that the other was bluffing. "I'll take you down to Murgatroyd's
myself," he went on, now bluffing, too. "By George, that's just what
I will do! Hereafter it will be said that Wilkinson may have been too
smart for Murgatroyd, but that there was one man he couldn't fool;
and that was Assistant District Attorney Leech. That ought to get me
the chief's job next November. Come on! I've got a taxi-cab—my
men will follow in another."
Wilkinson climbed into the cab. At the second corner he called out to
the driver: "Turn west!" Leech leaned back smiling at this new turn,
and let Wilkinson do his own ordering.
"I want to get out here for a minute, Leech," he said, presently
stopping the cab before a white marble building. "Come in with
me.... I want to telephone to someone I know."
The two men, each occupied with his own thoughts, stalked up the
steps of the Millionaires' Club. At the entrance they were stopped,
and Wilkinson was rudely thrust aside. Leech got a cold and distant
obeisance from the doorman, who nevertheless politely asked:
"Beg your pardon, sir, did you desire to see any member of the
club?"
Wilkinson came forward and roared out:
"Confound you, I'm a member of the club—I'm Peter V. Wilkinson!"
The doorman laughed in his face, and again bowing to Leech, asked
if the other was with him.
"Why, Bowles," roared Wilkinson, "I know you like a book. I'm Peter
V. Wilkinson, I tell you."
Bowles started at the voice. He recognised it as Wilkinson's, but the
man before him bore no resemblance to the Wilkinson that he knew,
and he refused to believe him. And in the end, Wilkinson and Leech
were forced, to their discomfiture, to retire.
"Hang it!" muttered Wilkinson. "He ought to know me if anybody
does. He doesn't know me, and yet you did. How do you account for
that?"
"I was looking for a bigger tip," laughed Leech.
At the next corner they stopped and Wilkinson entered a public
telephone booth, closed the glass door behind him and then called
up the Barristers' Club. Presently the man he called for was at the
other end, was answering "Hello." Wilkinson smiled, for the voice
held excitement in it.
"Peter!" yelled Morehead in delight.
"Yes, and I'm coming to the Barristers'."
"In broad daylight?"
"Yes, right now. I want to talk to you and talk to you hard. I've read
all the New York papers and know all that's going on.... And say,
look here, you'd better tell your people there to be on the look-out
for a tramp and a con man, for they'll never let us in unless you do."
"Who's the con man?" queried the Colonel, not fully recovered from
the shock that Wilkinson had given him.
Whereupon Wilkinson without reply rang off.
Fifteen minutes later Colonel Morehead threw open his bedroom
door in the Barristers' Club and threw his arms about his
disreputable-looking client.
"Peter, the sight of you is good for sore eyes!" he cried.
Colonel Morehead stiffened for an instant at the sight of the other
man, and bowing gravely merely said:
"How do you do, sir?"
"Colonel," began Wilkinson, as he threw himself into a chair and
stretched his legs wide apart. "I'll come to the point at once." The
Colonel was all attention. "I note by the papers that you are keeping
the legislature a devil of a long time selecting a new man to replace
Beekman. You will naturally want to know," Wilkinson went on, "why
we call upon you in such haste this morning." He waved his hand
toward Leech. "Allow me to introduce you to Mr. Leech, at present
an assistant district attorney of this county, and the next Governor of
the State of New York."
Morehead stared at Wilkinson as one hypnotised.
"Why?" he demanded, at length.
Wilkinson did not answer at once, but drew him into the adjoining
room where he related, among other things, the happenings of the
last two days. At the conclusion, he remarked:
"A man who asks for a million-dollar bribe is our man, isn't he,
Morehead? But there is one thing more I want to say: Don't you
forget it that I figured out this thing myself."
XXII
Some few weeks after his visit to Colonel Morehead at the Barristers'
Club, Peter V. Wilkinson presented himself at the Riverside Drive
house. He had waited until he had grown a stubbly beard once more
before introducing himself to his family, and then one morning,
feeling very much as he looked, he had come in straggling, half-
dazed, tired, bedraggled, a sad object to behold, but in spite of all
he was received, like the proverbial prodigal, with open arms.
Then followed days of explanation and secret conferences. His family
physician had diagnosed his case as one of loss of memory;
Murgatroyd had thrown up his hat in glee; the county force at once
became active; the newspapers chattered in cold type like magpies;
and what is more, the final stay obtained by Colonel Morehead was
drawing to a close.
But all the time that Murgatroyd felt that he had at last landed
Wilkinson, Leech kept his own counsel, and secretly he was very
happy. For did he not hold within his grasp the governorship, wealth,
and in his arms, almost, the daughter of Peter V. Wilkinson?
They were sitting in Leslie's room at the top of the house one
morning, Wilkinson and his daughter. The father was puffing away at
a big black cigar, and looking very much out-of-place in the dainty
apartment with its poppy-covered walls and chintz furnishings, the
girl wearing a far more cheerful look than had been on her face for
many moons, was luxuriating in a silken-covered chair.
"It's coming out all right, isn't it, father? How many nights have I
prayed that you would get away—even if I never saw you again. And
now it's coming out all right." She smiled a sad little smile; presently
she added: "You've got a man that the National Banks can't buy...."
Her tone was the least bit cautious and reserved—as one who
withholds judgment. This did not escape Wilkinson. But he pressed
his point.
"You're sure you want Leech?" he asked. "I don't want to force you,
but he's a loyal friend of ours. He's run the National conspiracy to
earth, is brave enough to face fire for me—he's a true friend, girlie."
Leslie's eyes glowed. She caught her father about the neck, and
hiding her face against his shoulder, she whispered:
"Of course I want him, father. I—I would not have anybody else...."
"I'm glad of that," answered her father, nodding. "He's head over
heels in love with you, dear—and he seems, somehow, to make it a
condition of——"
"Father," she interrupted, "I knew long, long ago that he admired
me. I could tell—why, I'm so glad, so glad...."
Nevertheless the girl was very tired, was keyed up to the highest
pitch. Her father had but three short weeks of respite, Morehead
could do no more, and the legislature was ready to appoint its man
in the place that Morehead with some desperate instinct had held
vacant for so long. It was still a race, a running fight with Leslie, and
she revelled in the fight. It was all a part of a desperate game, with
her father for the stakes; and she played it with all her might and
main.
"You will grant a pardon to my father?" she had implored of Leech,
struggling feebly in his warm embrace.
"Yes," he had answered, drawing her still closer; and Leslie had
submitted, persuading herself into the belief that this man was the
one man for her.
"You promise?"
"I promise."
Ten days later he resigned his office as Assistant District Attorney of
New York; and two weeks later he was lifted into the high place by
the legislature. One day after he took his oath of office the petition
Welcome to Our Bookstore - The Ultimate Destination for Book Lovers
Are you passionate about testbank and eager to explore new worlds of
knowledge? At our website, we offer a vast collection of books that
cater to every interest and age group. From classic literature to
specialized publications, self-help books, and children’s stories, we
have it all! Each book is a gateway to new adventures, helping you
expand your knowledge and nourish your soul
Experience Convenient and Enjoyable Book Shopping Our website is more
than just an online bookstore—it’s a bridge connecting readers to the
timeless values of culture and wisdom. With a sleek and user-friendly
interface and a smart search system, you can find your favorite books
quickly and easily. Enjoy special promotions, fast home delivery, and
a seamless shopping experience that saves you time and enhances your
love for reading.
Let us accompany you on the journey of exploring knowledge and
personal growth!

testbankfan.com

You might also like