[xsl] dubious certification questions

Subject: [xsl] dubious certification questions
From: Mike Brown <mike@xxxxxxxx>
Date: Thu, 17 May 2001 15:50:07 -0600 (MDT)
It was fun to take the test, but just to demonstrate how worthless
certifications can be, here are 2 questions from that heavily MSXML and
Xalan oriented Brainbench XSL exam. I'm posting them here for reasons that
should be obvious when you read them, if you know the correct answers. Oh,
they say there's one -- and only one -- correct answer per question.

=========================================================

  The Saxon XSLT Processor takes what kind of input?  
    Choice 1     URI  
    Choice 2     Stream of SAX events  
    Choice 3     Stream of bytecode  
    Choice 4     Single DOM object  
    Choice 5     Text stream  


=========================================================

  <xsl:template match="text()"> 
    <xsl:value-of select="."/> 
  </xsl:template>
  
  Referring to the sample code above, what is the result
  of applying the XSL fragment?  

    Choice 1    It copies all parent nodes to output that
                 has text nodes as children.  

    Choice 2    It copies all child nodes resident under
                 any text node.  

    Choice 3    It copies all descendent to the current
                 node text nodes to the output.  

    Choice 4    It changes all nodes to text nodes from
                 the current location on the document tree.  

    Choice 5    It matches all nodes and copies them to output.  


Have fun picking the right answer.

   - Mike
_____________________________________________________________________________
mike j. brown, software engineer at  |  xml/xslt: http://skew.org/xml/
webb.net in denver, colorado, USA    |  personal: http://hyperreal.org/~mike/

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread