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