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. XSLT uses XPath to _______ and navigate thru XML documents
XML Namespaces
<xsl:output>
XML Elements & Attributes
filter
2. Used to extract data from inside an XML file. Uses path like syntax
<xsl:apply-templates>
XPath (eXtensible Path Language)
<xsl:output>
active
3. In XML you have to indicate when a element tag is empty.
STOICCS & VoFeAt
<xsl:for-each>
Empty Tags <elem></elem>
XML Character Data Sections (CDATA)
4. _________ can match entire document tree or part
XML Namespaces
<xsl:sort>
<xsl:apply-templates>
XSLT (eXtensible Stylesheet Language Transformations)
5. _________ 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:choose>
<xsl:apply-templates>
<xsl:copy>
STOICCS & VoFeAt
6. Are a way to tell the XML parser to do something that is feature specific to that parser.
XML Processing Instructions
XML Elements & Attributes
<xsl:sort>
<xsl:output>
7. They cannot be minimized. Must explicitly assign a value to a attribute and must be inside double quotes.
XML Attributes
<xsl:copy>
Empty Tags <elem></elem>
<xsl:apply-templates>
8. Must be properly nested inside each other.
XML Tag Nesting
XML Attributes
<xsl:output>
<xsl:for-each>
9. XSLT is the ____ part of XSL
XPath (eXtensible Path Language)
active
<xsl:template>
<xsl:apply-templates>
10. Used for creating hyperlinks to XML documents and arbitrary points within XML documents.
<xsl:template>
active
<xsl:choose>
XPointer & XLink
11. _________ 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 Processing Instructions
<xsl:template>
XML Attributes
12. _________ gives root node of document portion to apply template to
<xsl:copy>
<xsl:template>
<xsl:apply-templates>
<xsl:choose>
13. _________ is like "if" but allows selection from list of alternate options - similar to "case" - mandatory "test" attribute just like IF
<xsl:sort>
<xsl:choose>
XML Parser - Whitespace
XML (eXtensible Markup Language)
14. _________ is an instructional element that pulls in other templates according to criteria and executes them within the main stylesheet
<xsl:apply-templates>
<xsl:sort>
active
XML Entities
15. _________ 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
<xsl:output>
filter
<xsl:apply-templates>
<xsl:copy>
16. Used to contain character data you want part of the document content but don't want the parser to try and parse.
XML Character Data Sections (CDATA)
functional
<xsl:apply-templates>
XQuery
17. It ignores white space unless it is inside an element.
<xsl:copy>
XML (eXtensible Markup Language)
XML Parser - Whitespace
<xsl:sort>
18. _________ tests to see if a T/F condition is met - if True the specified elements are added to result tree
<xsl:copy>
<xsl:output>
Empty Tags <elem></elem>
<xsl:if>
19. Styling language that takes an XML file and "transforms" it into something else - like HTML - PDF - ASCII or even another XML file.
filter
XML Elements & Attributes
<xsl:template>
XSLT (eXtensible Stylesheet Language Transformations)
20. Used to perform query functions on XML data - similar to SQL for databases.
<xsl:sort>
XML (eXtensible Markup Language)
XML Processing Instructions
XQuery
21. _________ can be entire document or part
XPath (eXtensible Path Language)
XML Namespaces
<xsl:template>
XPointer & XLink
22. Provide a way to help shorten and modularize your XML documents.
<xsl:value-of>
XML Entities
<xsl:choose>
functional
23. Sometimes called tags. Just like your used to in HTML.
XPath (eXtensible Path Language)
Empty Tags <elem></elem>
<xsl:choose>
XML Elements & Attributes
24. 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
STOICCS & VoFeAt
XML Parser - Whitespace
<xsl:if>
XML Declaration
25. _________ 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
STOICCS & VoFeAt
<xsl:sort>
XML Character Data Sections (CDATA)
<xsl:value-of>
26. 10 XSLT elements are: ____________: Stylesheet - Template - Output - If - Copy - Choose - Sort & Value-Of - For-Each - Apply-Templates
XML Attributes
XQuery
XML Processing Instructions
STOICCS & VoFeAt
27. _________ pulls value of that element out for processing or display - and -has mandatory select attribute which uses XPath notation
XML Entities
<xsl:value-of>
<xsl:output>
<xsl:apply-templates>
28. Provide a way to prevent tags with same names but different meanings from colliding with each other.
filter
XML Namespaces
XML Character Data Sections (CDATA)
<xsl:for-each>
29. 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
XML (eXtensible Markup Language)
XSLT (eXtensible Stylesheet Language Transformations)
XQuery
XPath (eXtensible Path Language)
30. XSLT is a _________ language
XML Elements & Attributes
filter
functional
XML (eXtensible Markup Language)