SUBJECTS
|
BROWSE
|
CAREER CENTER
|
POPULAR
|
JOIN
|
LOGIN
Business Skills
|
Soft Skills
|
Basic Literacy
|
Certifications
About
|
Help
|
Privacy
|
Terms
|
Email
Search
Test your basic knowledge |
XML XSLT
Start Test
Study First
Subject
:
it-skills
Instructions:
Answer 30 questions in 15 minutes.
If you are not ready to take this test, you can
study here
.
Match each statement with the correct term.
Don't refresh. All questions and answers are randomly picked and ordered every time you load a test.
This is a study tool. The 3 wrong answers for each question are randomly chosen from answers to other questions. So, you might find at times the answers obvious, but you will see it re-enforces your understanding as you take the test each time.
1. _________ can be entire document or part
<xsl:if>
XML Elements & Attributes
XML Declaration
<xsl:template>
2. XSLT uses XPath to _______ and navigate thru XML documents
XML Processing Instructions
XML Character Data Sections (CDATA)
filter
XML (eXtensible Markup Language)
3. 10 XSLT elements are: ____________: Stylesheet - Template - Output - If - Copy - Choose - Sort & Value-Of - For-Each - Apply-Templates
XML Namespaces
STOICCS & VoFeAt
<xsl:apply-templates>
<xsl:choose>
4. Used to extract data from inside an XML file. Uses path like syntax
<xsl:if>
XPath (eXtensible Path Language)
XML Processing Instructions
active
5. _________ is like "if" but allows selection from list of alternate options - similar to "case" - mandatory "test" attribute just like IF
functional
<xsl:choose>
<xsl:output>
Empty Tags <elem></elem>
6. Provide a way to help shorten and modularize your XML documents.
XML Entities
XML Tag Nesting
XML Character Data Sections (CDATA)
XPath (eXtensible Path Language)
7. XSLT is a _________ language
<xsl:choose>
functional
<xsl:sort>
<xsl:for-each>
8. They cannot be minimized. Must explicitly assign a value to a attribute and must be inside double quotes.
XML Elements & Attributes
<xsl:sort>
XML Attributes
XPath (eXtensible Path Language)
9. Provide a way to prevent tags with same names but different meanings from colliding with each other.
<xsl:apply-templates>
XSLT (eXtensible Stylesheet Language Transformations)
XML Tag Nesting
XML Namespaces
10. _________ can match entire document tree or part
<xsl:sort>
<xsl:apply-templates>
functional
XML Character Data Sections (CDATA)
11. Used to contain character data you want part of the document content but don't want the parser to try and parse.
XML Processing Instructions
STOICCS & VoFeAt
XML Character Data Sections (CDATA)
<xsl:for-each>
12. XSLT is the ____ part of XSL
XPointer & XLink
active
functional
<xsl:copy>
13. Styling language that takes an XML file and "transforms" it into something else - like HTML - PDF - ASCII or even another XML file.
XML Parser - Whitespace
<xsl:output>
XSLT (eXtensible Stylesheet Language Transformations)
XML Elements & Attributes
14. _________ creates copy of a particular element - then copy can be expressed in different part of tree node of resulting element - used when creating an xml file from another xml file - but needs to change the structure
<xsl:copy>
XML Parser - Whitespace
<xsl:sort>
<xsl:if>
15. Used to perform query functions on XML data - similar to SQL for databases.
XML Parser - Whitespace
active
<xsl:choose>
XQuery
16. _________ pulls value of that element out for processing or display - and -has mandatory select attribute which uses XPath notation
<xsl:value-of>
STOICCS & VoFeAt
XPath (eXtensible Path Language)
<xsl:apply-templates>
17. Used to structure and describe information. Information used to describe information. It does not replace HTML. It is a base way of creating tag sets. Content is kept separate from any notation of presentation. Information can be easily read and unde
<xsl:sort>
XML (eXtensible Markup Language)
STOICCS & VoFeAt
<xsl:template>
18. Must be properly nested inside each other.
XML Tag Nesting
XML Attributes
XML Processing Instructions
filter
19. _________ is used to produce other output formats like XML - HTML - text - Word - PDF - etc. and contains method attribute that specifies which format is being produced
XML Parser - Whitespace
<xsl:choose>
XML Declaration
<xsl:output>
20. _________ allows you to set an order for node-set elements - optional attribute "data-type" allows for alphabetical sorting of text information or for order sorting of numeric
<xsl:choose>
<xsl:sort>
<xsl:value-of>
XSLT (eXtensible Stylesheet Language Transformations)
21. _________ gives root node of document portion to apply template to
XPointer & XLink
<xsl:template>
XML Namespaces
active
22. Optional but helps identify the file as an XML file. Also helps you to list encoding (defines what types of characters your going to use) and standalone declaration. utf-8 is a unicode encoding standard corresponds well to the ascii character set. Ha
XML Parser - Whitespace
<xsl:if>
XML Elements & Attributes
XML Declaration
23. Sometimes called tags. Just like your used to in HTML.
<xsl:apply-templates>
XML Elements & Attributes
XML Character Data Sections (CDATA)
XPath (eXtensible Path Language)
24. Are a way to tell the XML parser to do something that is feature specific to that parser.
XML Processing Instructions
XML Namespaces
XSLT (eXtensible Stylesheet Language Transformations)
XML Attributes
25. _________ functions as a FOR loop except cannot break out of it - allows all nodes in a node-set to be processed - nodes are not processed in any particular order
<xsl:for-each>
XML Parser - Whitespace
<xsl:copy>
<xsl:template>
26. It ignores white space unless it is inside an element.
XML Tag Nesting
XML (eXtensible Markup Language)
filter
XML Parser - Whitespace
27. _________ tests to see if a T/F condition is met - if True the specified elements are added to result tree
XSLT (eXtensible Stylesheet Language Transformations)
STOICCS & VoFeAt
<xsl:choose>
<xsl:if>
28. Used for creating hyperlinks to XML documents and arbitrary points within XML documents.
XML (eXtensible Markup Language)
XPointer & XLink
<xsl:if>
active
29. _________ is an instructional element that pulls in other templates according to criteria and executes them within the main stylesheet
<xsl:for-each>
XML Parser - Whitespace
<xsl:apply-templates>
XML Namespaces
30. In XML you have to indicate when a element tag is empty.
XML (eXtensible Markup Language)
<xsl:template>
Empty Tags <elem></elem>
XML Attributes