In Lab 5A, you added conditional logic to a stylesheet to generate
the text "Single-family home" when the property was residential and
the number of units was 1.
Make a local copy of the stylesheet named
lab8b.xsl and open it in your editor.
Modify it to perform the same function, but do it by counting
the units and generating the "Single-family home"
text if the result of the count is 1.
To do this, you need to use the count() function (further
discussed in Chapter 9). This function takes a node set as an argument
and returns the number of nodes contained in it.
Test your work by viewing a local copy of
lab8b.xml in your browser.