xml

अब Quizwiz के साथ अपने होमवर्क और परीक्षाओं को एस करें!

Urma needs to identify the code for references to objects from the XMLSchema namespace that do not require prefix. What line of code represents this?

<complexType name ="sType">

Urma needs to identify the code for references to objects from XML Schema namespace that require a prefix. What line of code represents this? Correct Answer

<xsi:complexType name ="sType">

If the namespace prefix is omitted, the URI in the _____ rule is considered to be the default namespace for the selectors in the style sheet.

@namespace

Betty Trooper owns and operates a realty company. She has provided you with properties.xml, which is a file that contains a list of properties enrolled in the multiple listing database. She has created three different versions of a schema for the properties vocabulary and needs help in choosing the most appropriate schema design for her needs. If Betty uses Flat Catalog design, which of the following is true?

All element and attribute definitions have global scope.

_____ processing is a programming technique that applies different styles based on the values from the source document.

Conditional

A Russian Doll design is much more compact than a(n) _____, but the multiple levels of nested elements can be confusing and can make it more difficult to debug.

Flat Catalog

In a(n) _____ design, all declarations are made globally.

Flat Catalog

The _____ schema design element declarations are not nested.

Flat Catalog

The schema design that requires more code than either of the designs combined is _____.

Garden of Eden

The standard vocabulary _____ has namespace URI: http://www.itunes.com/dtds/podcast-1.0.dtd.

ITunes Podcast

Any elements that are sent directly to the result document as raw text​

Literal result elements

Node at the top of the node tree​

Root node

A(n) _____ design has only one global element with everything else nested inside of it.

Russian Doll

If you are interested in a compact schema that mirrors the structure of the instance document, you should use a _____ design.

Russian Doll

The _____ schema design element declarations can only be used once.

Russian Doll

In a Flat Catalog design—sometimes referred to as a(n) _____ design—all element and attribute definitions have global scope.

Salami Slice

An open source standalone processor supporting XSLT 2.0​

Saxon

_____ was released in 1999 and enjoys universal support with XML processors and web browsers.

XPath 1.0

Betty Trooper owns and operates a realty company. She has provided you with properties.xml, which is a file that contains a list of properties enrolled in the multiple listing database. She has created three different versions of a schema for the properties vocabulary and needs help in choosing the most appropriate schema design for her needs. In Flat Catalog design, every element and attribute definition is a direct _____ of the root element and thus has been defined globally.

child

The duplication of element names is an example of name _____, which occurs when the same element name from different XML vocabularies is used within a compound document.

collision

Creating _____ element names to avoid name collisions eliminates the ability to use simple element names to describe data. You Answered

complex

A _____ document is a document that combines from multiple vocabularies.

compound

A Venetian Blind design represents a(n) _____ between Flat Catalogs and Russian Dolls.

compromise

In the accompanying figure, name is an element from the _____ vocabulary.

course

In the accompanying figure, the prefix _____ is added to the opening and closing tags for all elements in the course namespace.

crs

Applying a namespace to an XML document involves identifying the elements and attributes within the document that belongs to that namespace and _____. Correct Answer

declaring the namespace

When referencing elements in an imported schema file, the prefix _____ have to match the prefix used in the imported schema file.

does not

Declarations with _____ scope can be referenced throughout the schema file.

global

The following code declares a namespace with the URI _____ within the course element and applies the schema file course.xsd to the document: <course courseID= "PSAT-080-5 " xmlns= "http://example.com/higheredtestprep/course/ns " xsi:schemaLocation= "http://example.com/higheredtestprep/ course/ns course.xsd "> ... </course>

http://example.com/higheredtestprep/course/ns

One way to combine schemas is through _____; this is used when the schemas come from different namespaces.

importing

In an environment in which large and complex XML vocabularies are developed, different teams might work on different parts of the schema, using the _____ element to combine the different parts into a finished product.

include

In a(n) _____ document containing elements from more than one namespace, after you declare the namespaces, you must indicate which elements in the document belong to each namespace.

instance

The root element of the _____ document becomes the top element declaration in the schema.

instance

To _____ multiple style sheets to a compound document, you add a separate processing instruction for each style sheet.

link

Declarations with _____ scope are available only to a given complex type.

local

Objects with _____ scope can be referenced only within the object in which they are defined.

local

The general form for applying a qualified name to a two-sided tag is <prefix:element> ... </prefix:element> where prefix is the namespace prefix and element is the _____ part.

local

Tells an application what type of content a file contains​

meta element

A compound document is a document that combines elements from _____ vocabularies.

multiple

Betty Trooper owns and operates a realty company. She has provided you with properties.xml, which is a file that contains a list of properties enrolled in the multiple listing database. She has created three different versions of a schema for the properties vocabulary and needs help in choosing the most appropriate schema design for her needs. Betty wants to review the Russian Doll design. She understands that there is only one global element with everything else nested inside of it. She also knows that a Russian Doll design is much more compact than a Flat Catalog, but _____.

multiple levels of nested elements can be confusing

After a schema is imported into another schema file, any _____ it contains with global scope can be referenced in that file.

objects

The building blocks of any schema are the XML elements that define the structure; these are known collectively as _____.

objects

Like an element name, an attribute can be qualified by adding a namespace

prefix

The association between the namespace and the _____ declared in an element does not apply to the siblings of that element. You Answered

prefix

If a namespace is attached to the schema, only the root element needs to be _____ in the instance document.

qualified

In XML Schema, any element or attribute with global scope must be entered as a(n) _______ name.

qualified

The XML Schema group element is used to assign a name to a list of references to elements or attributes, and then the named group is referenced elsewhere using the _____ attribute

ref

To _____ an object from an imported schema, you must declare the namespace of the imported schema in the schema element.

reference

In the Venetian Blind schema design, named complex types, element groups, and attribute groups can be _____ throughout the schema.

reused

Each include and import element in a schema must be globally declared as a direct child of the _____ schema element.

root

Some XML authors add all namespace declarations to the document's _____ element so that the namespace is available to all elements within the document.

root

The _____ template defines styles for the source document's root node.

root

To associate the _____ of a schema with a namespace, you declare the namespace of the instance document in the schema element and then make that namespace the target of the schema using the targetNamespace attribute.

rules

If a(n) _____ contains several lines of code that need to be repeated, you probably should use a Flat Catalog or Venetian Blind design.

schema

The _____ of a namespace declaration declaring a prefix extends from the beginning of the opening tag to the end of the corresponding closing tag.

scope

If an element has a qualified name such as stu:student, you do not include the prefix in the _____ name.

selector

The _____ document contains the data that will be transformed using a style sheet.

source

In the example code, <attributeGroup ref ="stu:studentAtt"/>, a reference to objects from the students namespace that require prefixes is _____.

stu

In the accompanying figure, the element added as a child element of the course element, occurring after the instructor element, is _____.

student

In the example code, <xsi:attributeGroup ref ="studentAtt"/>, a reference to objects from the students namespace that do not require prefixes is _____.

studentAtt

Betty Trooper owns and operates a realty company. She has provided you with properties.xml, which is a file that contains a list of properties enrolled in the multiple listing database. She has created three different versions of a schema for the properties vocabulary and needs help in choosing the most appropriate schema design for her needs. Following is an example of a schema code: bd2e999e-c411-401b-a9d3-4b6ff8f3a57e.PNG What is the name of the Flat Catalog schema document?

studentsfc.xsd

Betty Trooper owns and operates a realty company. She has provided you with properties.xml, which is a file that contains a list of properties enrolled in the multiple listing database. She has created three different versions of a schema for the properties vocabulary and needs help in choosing the most appropriate schema design for her needs. Following is an example of a schema code: 969f8a0a-86e4-4b99-bb50-ab801243bac3.PNG What is the name of the Russian Doll schema document?

studentsrd.xsd

If you choose to use a vocabulary's namespace as the default namespace for a schema, you do not have to qualify any references to customized objects in the _____ namespace.

target

A _____ node is the text contained within an element.

text

A(n) namespace is a defined collection of element and attribute names.

true and false

Browsers are looking for qualified element names in your instance document, but your schema is configured to expect unqualified names.

true and false

If a namespace prefix is declared more than once, only the last instance is used in the style sheet.

true and false

A Russian Doll design represents a compromise between Flat Catalogs and Venetian Blinds.

true or false

A schema can contain any number of include and import elements.

true or false

After a schema is imported into another schema file, any objects it contains with global scope can be referenced in that file.

true or false

Any customized data types, named types, elements, element groups, or attributes created in the schema are considered part of the target namespace.

true or false

Default namespaces apply to elements, but not to attributes

true or false

Objects with global scope are direct children of the root schema element and can be referenced throughout the schema document.

true or false

Set the indent attribute to yes to make the code in your result document easier to read.​

true or false

The root element of the instance document becomes the top element declaration in the schema.

true or false

The scope of a namespace declaration declaring a(n) suffix extends from the beginning of the opening tag to the end of the corresponding closing tag.

true or false

The simplest way to view a web page generated by an XSLT 1.0 style sheet is to open the source document in your web browser.​

true or false

The xsl:choose element provides a condition from which to choose.​

true or false

When the specifications for XML 1.0 were first posted, support existed for namespaces.

true or false

XSLT style sheets are XML documents

true or false

The number of namespace attributes that can be declared within an element is _____.

unlimited

To require all elements to be qualified but not all attributes, you enter the following code into the schema element: <xs:schema elementFormDefault= "qualified" attributeFormDefault= "_____"> ... </xs:schema>

unqualified

The line of code <xsi:schema xmnls:xsi="http"://www.w3.org/2001/XMLSchema identifies to Urma that the XMLSchema namespace is qualified by the _____.

xsi

Which of the following XPath expressions for relative paths refers to the parent of the parent of the context node?

​../..

Node at the top of a branch

​Ancestor node

Default file output format of an XSLT processor

​XML

First part of an XSLT document​

​XML declaration

Language used to access and navigate the contents of an XML data tree​

​XPath

​Used to transform the contents of the source document into a new format

​XSLT processor

The _____ comparison operator combines two expressions, returning a value of true only if both expressions are true.

​and

​The _____ element is applied when no conditions are satisfied.

​xsl:otherwise

XPath supports the wildcard character ( _____ ) to reference nodes of any type or name.

*

In the accompanying figure, item _____ represents the XML schema namespace attribute.

1

In the accompanying figure, item _____ represents duplicate attributes deleted from the opening students tag.

2

A(n) _____ design does not declare elements and attributes globally, but instead creates named types and references those types within a single global element

Venetian Blind

The _____ schema design contains one single global element; all others declarations are local.

Venetian Blind

The standard vocabulary _____ has a namespace URI: http://www.w3.org/2001/vxml.

VoiceML

Many _____ developers consider it a best practice to qualify all elements in the instance document to avoid confusion about which elements belong to which namespaces.

XML

Contains only part of a full XML document​

XML fragment


संबंधित स्टडी सेट्स

(PrepU) Health Care Systems / Health Care Organizations: Nursing Concepts

View Set

CIE AS Economics - The Macroeconomy

View Set

Pediatric Nursing (Exit Exam Review)

View Set

Lab 7-5 Practice Exam- Kirchhoffs Circuit Laws

View Set

DNA Replication & Transcription and Translation

View Set