显示标签为“000-142”的博文。显示所有博文
显示标签为“000-142”的博文。显示所有博文

2014年4月15日星期二

IT-Tests.com provides to IBM 000-142 test materials

There are a lot of sites provide the IBM 000-142 exam certification and other training materials for you . IT-Tests.com is only website which can provide you IBM 000-142 exam certification with high quality. In the guidance and help of IT-Tests.com, you can through your IBM 000-142 exam the first time. The questions and the answer provided by IT-Tests.com are IT experts use their extensive knowledge and experience manufacturing out . It can help your future in the IT industry to the next level.

With IT-Tests.com's IBM 000-142 exam training materials you can pass the IBM 000-142 exam easily. The training tools which designed by our website can help you pass the exam the first time. You only need to download the IT-Tests.com IBM 000-142 exam training materials, namely questions and answers, the exam will become very easy. IT-Tests.com guarantee that you will be able to pass the exam. If you are still hesitant, download our sample of material, then you can know the effect. Do not hesitate, add the exam material to your shopping cart quickly. If you miss it you will regret for a lifetime.

IT-Tests.com provide you the product with high quality and reliability. You can free download online part of IT-Tests's providing practice questions and answers about the IBM certification 000-142 exam as a try. After your trail I believe you will be very satisfied with our product. Such a good product which can help you pass the exam successfully, what are you waiting for? Please add it to your shopping cart.

IBM 000-142 certification can guarantee you have good job prospects, because IBM certification 000-142 exam is a difficult test of IT knowledge, passing IBM certification 000-142 exam proves that your IT expertise a strong and you can be qualified for a good job.

Exam Code: 000-142
Exam Name: IBM (XML 1.1 and Related Technologies)
Free One year updates to match real exam scenarios, 100% pass and refund Warranty.
Total Q&A: 98 Questions and Answers
Last Update: 2014-04-14

000-142 (XML 1.1 and Related Technologies) Free Demo Download: http://www.it-tests.com/000-142.html

NO.1 What is the result of the following XSLT template if the value of k is the string 'foo'?
<xsl:template name="Do">
<xsl:param name="j" select="3"/>
<xsl:param name="k"/>
<xsl:if test="$j">
<xsl:value-of select="$k"/>
<xsl:call-template name="Do">
<xsl:with-param name="j" select="$j - 1"/>
<xsl:with-param name="k" select="$k"/>
</xsl:call-template>
</xsl:if>
</xsl:template>
A. 'foo'
B. 'foo' (repeated until stack overflow)
C. 'foofoofoo'
D. 'foo foo foo'
Answer: C

IBM dumps   000-142   000-142   000-142 certification training

NO.2 XML data is stored and retrieved within a relational database for a data-centric application by means of
mapping XML schema elements to database tables. There are concerns that the queries and updates to
this database are slow due to the number of joins required in the SQL. What is the best option for
improving the storage and retrieval of this XML data?
A. Transform XML documents into canonical form before persisting.
B. Modify the current XML schema by converting elements to attributes where possible and re-map to
tables in order to reduce the number of tables and therefore the number of joins required.
C. Store the XML data as CLOBs without decomposing them into relational tables and provide an 'id'
based lookup.
D. Modify the current XML schema by merging all of the XML documents into a main XML document and
query using XPath.
Answer: BD

IBM original questions   000-142   000-142   000-142 study guide

NO.3 Which of the following is a trait that distinguishes XSLT 2.0 from XSLT 1.0?
A. xsl:for-each in XSLT 2.0 supports arbitrary sequences in addition to node sets.
B. xsl:value-of in XSLT 2.0 includes an attribute called "delimiter" that allows delimited sequences.
C. xsl:variable in XSLT 2.0 includes an attribute called "type" to indicate type.
D. xsl:with-param in XSLT 2.0 does not throw an error if that parameter is not defined in the called
template.
Answer: A

IBM answers real questions   000-142   000-142   000-142

NO.4 Analyze the following XML and DTD fragments that implement ID, IDREF and IDREFS used to link
manager and subordinate relationships. Where is the error in the implementation of this logic?
employees.dtd:
<!ATTLIST employee empid ID #REQUIRED>
<!ATTLIST employee mgrid ID #IMPLIED>
<!ATTLIST employee mgr IDREF #IMPLIED>
<!ATTLIST employee subs IDREFS #IMPLIED>
employees.xml:
<employees>
<employee empid="e1" mgrid="m1" subs="e2"><name>Bob Smith</name></employee>
<employee empid="e2" mgrid="m2" mgr="m1" subs="e3 e4"><name>Carol
Jones</name></employee>
<employee empid="e3" mgr="m2"><name>Keith Martin</name></employee>
<employee empid="e4" mgr="m2"><name>Monica Williams</name></employee>
</employees>
A. The subs IDREFS is formatted improperly for the second employee record.
B. The mgrid must be defined as "#REQUIRED" in the DTD.
C. The empid and mgrid attributes conflict as an element may only have a single ID attribute.
D. First two records are invalid as each employee record may have either empid or mgrid attribute, but not
both.
Answer: C

IBM test questions   000-142 demo   000-142 practice test   000-142   000-142

NO.5 Which of the following statements regarding CSS transformation of XML is valid?
A. It can be used to render XML into PDF.
B. It can render XML into a format appropriate for printing.
C. It may only be applied to well formed XHTML documents.
D. It can merge multiple XML documents into a single XHTML for browser rendering.
Answer: B

IBM certification   000-142   000-142   000-142   000-142

NO.6 Given the following DTD line, which of the following XML documents is valid?
<!ATTLIST employee empNum ID #REQUIRED>
A. <employee empNum="abcde"/>
B. <employee empNum="12345"/>
C. <employee empNum=""/>
D. <employee empNum="abcde"/> ... <employee empNum="abcde"/>
Answer: A

IBM   000-142   000-142

NO.7 Which of the following answers best defines the XForms design goal?
A. Utilizes external DTD for field types and value limits.
B. Encapsulates all JavaScript code within data elements.
C. Defines complex input controls based on assigned Schema.
D. Separates the forms content from presentation.
Answer: D

IBM dumps   000-142 test answers   000-142   000-142 braindump   000-142 original questions

NO.8 In a museum, XML data stored on powerful servers is served to customers through Web browsers
running on network-connected computers. The performance of those computers is limited. Which of the
following approaches will best suit the XML transformation?
A. Pass both the XML data and stylesheets to web browsers.
B. Output XHTML via a server-side XSL transformation.
C. Use only a subset of the XHTML and use Format Objects to apply style.
D. Transform the XML data into the open format document and display.
Answer: B

IBM answers real questions   000-142   000-142   000-142   000-142

NO.9 Which XPath axis below may be described as "all nodes that contain the context node, but not the
context node itself?"
A. ancestor::
B. ancestor-or-self::
C. namespace::
D. preceding::
Answer: A

IBM exam simulations   000-142 answers real questions   000-142

NO.10 What is the correct value for the match attribute of the xsl:template below to select all elements within
an XML document?
<xsl:template match="">
<xsl:value-of select="name()"/>
<xsl:value-of select="@id"/>
<xsl:apply-templates/>
</xsl:template>
A. node()
B. */*
C. //
D. /
Answer: A

IBM certification training   000-142 test answers   000-142 answers real questions

NO.11 Consider the following XML document:
<?xml version="1.0" encoding="UTF-8"?>
<Books>
<Book ID="001">
<Title>Finding New World</Title>
<Author>Jone Smith</Author>
</Book>
<Book ID="080">
<Title>How to Programming</Title>
<Author>Tom Alston</Author>
</Book>
</Books>
An XML developer wants to generate a HTML document that lists the ID, title and author of a book in a
HTML table. Which of the following stylesheets can achieve the desired result?
A. <?xml version="1.0" encoding="ISO-8859-1" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="Books">
<html>
<body>
<table width="100%" border="1">
<xsl:for-each select="/">
<tr>
<td><xsl:value-of select="@ID"/></td>
<td><xsl:value-of select="Title" /></td>
<td><xsl:value-of select="Author" /></td>
</tr>
</xsl:for-each>
</table>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
B. <?xml version="1.0" encoding="ISO-8859-1" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<body>
<table width="100%" border="1">
<xsl:for-each select="Books/Book">
<tr>
<td><xsl:value-of select="@ID"/></td>
<td><xsl:value-of select="Title" /></td>
<td><xsl:value-of select="Author" /></td>
</tr>
</xsl:for-each>
</table>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
C. <?xml version="1.0" encoding="ISO-8859-1" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<body>
<table width="100%" border="1">
<xsl:for-each select="Books/Book">
<tr>
<td><xsl:value-of select="ID"/></td>
<td><xsl:value-of select="." /></td>
</tr>
</xsl:for-each>
</table>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
D. <?xml version="1.0" encoding="ISO-8859-1" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="Books">
<html>
<body>
<table width="100%" border="1">
<xsl:for-each select="Book">
<tr>
<td><xsl:value-of select="ID"/></td>
<td><xsl:value-of select="Title" /></td>
<td><xsl:value-of select="Author" /></td>
</tr>
</xsl:for-each>
</table>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
Answer: B

IBM   000-142 study guide   000-142   000-142 test   000-142

NO.12 What will the following XSLT snippet return, if the value of parameter i is "redivider"?
<xsl:template name="Do">
<xsl:param name="i"/>
<xsl:variable name="j" select="string-length($i)"/>
<xsl:choose>
<xsl:when test=" $j < 2 ">
<xsl:value-of select="$i"/>
</xsl:when>
<xsl:otherwise>
<xsl:variable name="k" select="floor($j div 2)"/>
<xsl:call-template name="Do">
<xsl:with-param name="i" select="substring($i, 1, $k)"/>
</xsl:call-template>
<xsl:call-template name="Do">
<xsl:with-param name="i" select="substring($i, $k+1, $k+1)"/>
</xsl:call-template>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
A. rreeddiivviiddeerr
B. rediv
C. redivider
D. rdvdr
Answer: C

IBM   000-142 original questions   000-142 test

NO.13 An Intranet Web application provides news for thousands of users inside one company. The
application gets XML data from a database and then transforms the data into HTML with server-side XSLT.
Currently the web application performs poorly. Which of the following actions should the application
developer take to address the problem?
A. Update the database to a higher version.
B. Use well formed XHTML tags in the application.
C. Supply the XML data and the stylesheet to Web browsers.
D. Use XSL-FO to make the transformation.
Answer: C

IBM   000-142   000-142 questions   000-142   000-142 test

NO.14 A developer wishes to make an XSLT template more robust by checking a parameter passed to it for
errors and boundary conditions. The template accepts a parameter of type number. What condition
will NOT have to be checked?
A. number greater than allowed range
B. value of 0
C. type of the parameter value
D. Integer numbers
Answer: C

IBM test answers   000-142 test   000-142 answers real questions   000-142 answers real questions

NO.15 An application needs to process XML documents containing data retrieved from a legacy system.
Some of the documents use character sets which are not supported by the XML parser. Which of the
following is the best solution to address this problem?
A. Implement a custom parser to handle the legacy character sets.
B. Implement a pre-processor to convert documents with unsupported characters sets to UTF-8.
C. Define two XML Schema documents for each of the character sets.
D. Add the definitions of the legacy character sets to the parser's configuration file.
Answer: B

IBM   000-142 test   000-142   000-142 test questions   000-142 demo   000-142

NO.16 The link element in the following XML fragment is the context node. Its target attribute is stored
within the xsl:variable linkTarget. What XPath expression will find the page element whose id attribute
value is described by the value of linkTarget?
<site>
<page id="000"/>
<page id="001">
<page id="001_000">
<link target="003_000"/>
</page>
<page id="001_001"/>
</page>
<page id="002"/>
<page id="003">
<page id="003_000"/>
<page id="003_001"/>
</page>
</site>
A. ..//page[@id = $linkTarget]
B. ../../page[@id = '003']/page[@id = linkTarget]
C. //page[@id = $linkTarget]
D. ancestor::page/ancestor::page/child::page/child::page[id = $linkTarget]
Answer: C

IBM   000-142 pdf   000-142 exam prep   000-142 original questions

NO.17 Which two of the following may NOT be nested within a CDATA section?
A. HTML documents
B. Javascript source
C. Other CDATA sections
D. The XML escape characters (<, >, &, ', and ")
E. XSLT that needs to be processed
Answer: CE

IBM   000-142 demo   000-142   000-142   000-142 answers real questions   000-142 test questions

NO.18 Which of the following is NOT included within a generated JAXB 2.0 package?
A. A name, which may be derived directly from the XML namespace URI.
B. A set of Java element interfaces representing element declarations occurring with the DTD.
C. An ObjectFactory class containing an instance factory method for each Java content and element
interface.
D. A Javadoc for the package.
Answer: B

IBM exam dumps   000-142 braindump   000-142 answers real questions   000-142

NO.19 An online bookstore offers services that enables customers to view the online eBooks with a variety of
Web browsers and order high quality hard copies on demand. If the bookstore stores all the book
contents with XML format, which of the following rendering approaches is the most suitable?
A. When browsers request and customers order hard copies, transform the XML data with XSL-FO and
then convert the file into PDF for viewing and printing.
B. When browsers request and customers order hard copies, render the XML data with CSS and then use
the file for viewing and printing.
C. When browsers request, render the XML data with CSS. When customers order hard copies, transform
the XML data with XSL-FO and then convert the file into PDF for printing.
D. When browsers request, render the XML data with XSL-FO and then convert the file into PDF for
viewing. When customers order hard copies, transform the XML data with CSS and then use the file for
printing.
Answer: C

IBM exam dumps   000-142 demo   000-142   000-142 answers real questions

NO.20 Calculating sub-totals from an XML document using XSL transformation requires special
considerations. Which of the following options is the best solution to solve this problem?
A. Create a fragment variable containing the values to total, and then use the node-set() XSLT extension
and the XPath "sum()" function to calculate the value.
B. Create a special XSLT variable that contains the results of an XPath query that performs a "sum()" of
the values to be totaled.
C. Use XSLT recursion to define a variable value that calculates the "value-of" the elements to be
sub-totaled.
D. Use XSLTC to precompile a custom Java translet that will extract the values to be totaled and returns
the sum of those values. This return value is then used in an XSL variable for output.
Answer: A

IBM   000-142   000-142 exam prep   000-142 exam dumps

IT-Tests.com offer the latest HP2-K36 Questions & Answers and high-quality E20-891 PDF Practice Test. Our FCNSA.v5 VCE testing engine and 70-415 study guide can help you pass the real exam. High-quality CV0-001 Real Exam Questions can 100% guarantee you pass the exam faster and easier. Pass the exam to obtain certification is so simple.

Article Link: http://www.it-tests.com/000-142.html

2014年4月4日星期五

IBM certification 000-142 best exam questions and answers

IBM 000-142 certification can guarantee you have good job prospects, because IBM certification 000-142 exam is a difficult test of IT knowledge, passing IBM certification 000-142 exam proves that your IT expertise a strong and you can be qualified for a good job.

Before you decide to buy IT-Tests.com of IBM 000-142 exam questions, you will have a free part of the questions and answers as a trial. So that you will know the quality of the IT-Tests.com of IBM 000-142 exam training materials. The IBM 000-142 exam of IT-Tests.com is the best choice for you.

IT-Tests.com IBM 000-142 exam training materials praised by the majority of candidates is not a recent thing. This shows IT-Tests.com IBM 000-142 exam training materials can indeed help the candidates to pass the exam. Compared to other questions providers, IT-Tests.com IBM 000-142 exam training materials have been far ahead. uestions broad consumer recognition and reputation, it has gained a public praise. If you want to participate in the IBM 000-142 exam, quickly into IT-Tests.com website, I believe you will get what you want. If you miss you will regret, if you want to become a professional IT expert, then quickly add it to cart.

Exam Code: 000-142
Exam Name: IBM (XML 1.1 and Related Technologies)
Free One year updates to match real exam scenarios, 100% pass and refund Warranty.
Total Q&A: 98 Questions and Answers
Last Update: 2014-04-03

IT-Tests.com is a website specifically provide the certification exam information sources for IT professionals. Through many reflects from people who have purchase IT-Tests's products, IT-Tests.com is proved to be the best website to provide the source of information about certification exam. The product of IT-Tests.com is a very reliable training tool for you. The answers of the exam exercises provided by IT-Tests.com is very accurate. Our IT-Tests's senior experts are continuing to enhance the quality of our training materials.

The person who has been able to succeed is because that he believed he can do it. IT-Tests.com is able to help each IT person, because it has the capability. IT-Tests.com IBM 000-142 exam training materials can help you to pass the exam. Any restrictions start from your own heart, if you want to pass the IBM 000-142 examination, you will choose the IT-Tests.com.

Someone asked, where is success? Then I tell you, success is in IT-Tests.com. Select IT-Tests.com is to choose success. IT-Tests.com's IBM 000-142 exam training materials can help all candidates to pass the IT certification exam. Through the use of a lot of candidates, IT-Tests.com's IBM 000-142 exam training materials is get a great response aroud candidates, and to establish a good reputation. This is turn out that select IT-Tests.com's IBM 000-142 exam training materials is to choose success.

IT-Tests.com's IBM 000-142 exam training material is the best training materials on the Internet. It is the leader in all training materials. It not only can help you to pass the exam , you can also improve your knowledge and skills. Help you in your career in your advantage successfully. As long as you have the IBM 000-142 certification, you will be treated equally by all countries.

000-142 (XML 1.1 and Related Technologies) Free Demo Download: http://www.it-tests.com/000-142.html

NO.1 An application needs to process XML documents containing data retrieved from a legacy system.
Some of the documents use character sets which are not supported by the XML parser. Which of the
following is the best solution to address this problem?
A. Implement a custom parser to handle the legacy character sets.
B. Implement a pre-processor to convert documents with unsupported characters sets to UTF-8.
C. Define two XML Schema documents for each of the character sets.
D. Add the definitions of the legacy character sets to the parser's configuration file.
Answer: B

IBM exam simulations   000-142   000-142

NO.2 Which two of the following may NOT be nested within a CDATA section?
A. HTML documents
B. Javascript source
C. Other CDATA sections
D. The XML escape characters (<, >, &, ', and ")
E. XSLT that needs to be processed
Answer: CE

IBM   000-142 exam prep   000-142   000-142   000-142

NO.3 The link element in the following XML fragment is the context node. Its target attribute is stored
within the xsl:variable linkTarget. What XPath expression will find the page element whose id attribute
value is described by the value of linkTarget?
<site>
<page id="000"/>
<page id="001">
<page id="001_000">
<link target="003_000"/>
</page>
<page id="001_001"/>
</page>
<page id="002"/>
<page id="003">
<page id="003_000"/>
<page id="003_001"/>
</page>
</site>
A. ..//page[@id = $linkTarget]
B. ../../page[@id = '003']/page[@id = linkTarget]
C. //page[@id = $linkTarget]
D. ancestor::page/ancestor::page/child::page/child::page[id = $linkTarget]
Answer: C

IBM study guide   000-142 certification training   000-142 demo

NO.4 A developer wishes to make an XSLT template more robust by checking a parameter passed to it for
errors and boundary conditions. The template accepts a parameter of type number. What condition
will NOT have to be checked?
A. number greater than allowed range
B. value of 0
C. type of the parameter value
D. Integer numbers
Answer: C

IBM   000-142   000-142   000-142 test answers

NO.5 Calculating sub-totals from an XML document using XSL transformation requires special
considerations. Which of the following options is the best solution to solve this problem?
A. Create a fragment variable containing the values to total, and then use the node-set() XSLT extension
and the XPath "sum()" function to calculate the value.
B. Create a special XSLT variable that contains the results of an XPath query that performs a "sum()" of
the values to be totaled.
C. Use XSLT recursion to define a variable value that calculates the "value-of" the elements to be
sub-totaled.
D. Use XSLTC to precompile a custom Java translet that will extract the values to be totaled and returns
the sum of those values. This return value is then used in an XSL variable for output.
Answer: A

IBM   000-142 questions   000-142   000-142   000-142   000-142 practice test

NO.6 Analyze the following XML and DTD fragments that implement ID, IDREF and IDREFS used to link
manager and subordinate relationships. Where is the error in the implementation of this logic?
employees.dtd:
<!ATTLIST employee empid ID #REQUIRED>
<!ATTLIST employee mgrid ID #IMPLIED>
<!ATTLIST employee mgr IDREF #IMPLIED>
<!ATTLIST employee subs IDREFS #IMPLIED>
employees.xml:
<employees>
<employee empid="e1" mgrid="m1" subs="e2"><name>Bob Smith</name></employee>
<employee empid="e2" mgrid="m2" mgr="m1" subs="e3 e4"><name>Carol
Jones</name></employee>
<employee empid="e3" mgr="m2"><name>Keith Martin</name></employee>
<employee empid="e4" mgr="m2"><name>Monica Williams</name></employee>
</employees>
A. The subs IDREFS is formatted improperly for the second employee record.
B. The mgrid must be defined as "#REQUIRED" in the DTD.
C. The empid and mgrid attributes conflict as an element may only have a single ID attribute.
D. First two records are invalid as each employee record may have either empid or mgrid attribute, but not
both.
Answer: C

IBM certification training   000-142 braindump   000-142 exam   000-142 practice test   000-142

NO.7 Which of the following is a trait that distinguishes XSLT 2.0 from XSLT 1.0?
A. xsl:for-each in XSLT 2.0 supports arbitrary sequences in addition to node sets.
B. xsl:value-of in XSLT 2.0 includes an attribute called "delimiter" that allows delimited sequences.
C. xsl:variable in XSLT 2.0 includes an attribute called "type" to indicate type.
D. xsl:with-param in XSLT 2.0 does not throw an error if that parameter is not defined in the called
template.
Answer: A

IBM   000-142 exam   000-142 original questions   000-142   000-142 study guide

NO.8 In a museum, XML data stored on powerful servers is served to customers through Web browsers
running on network-connected computers. The performance of those computers is limited. Which of the
following approaches will best suit the XML transformation?
A. Pass both the XML data and stylesheets to web browsers.
B. Output XHTML via a server-side XSL transformation.
C. Use only a subset of the XHTML and use Format Objects to apply style.
D. Transform the XML data into the open format document and display.
Answer: B

IBM practice test   000-142 exam dumps   000-142 practice test   000-142 original questions

NO.9 Which of the following is NOT included within a generated JAXB 2.0 package?
A. A name, which may be derived directly from the XML namespace URI.
B. A set of Java element interfaces representing element declarations occurring with the DTD.
C. An ObjectFactory class containing an instance factory method for each Java content and element
interface.
D. A Javadoc for the package.
Answer: B

IBM dumps   000-142 answers real questions   000-142 questions   000-142 original questions

NO.10 What is the result of the following XSLT template if the value of k is the string 'foo'?
<xsl:template name="Do">
<xsl:param name="j" select="3"/>
<xsl:param name="k"/>
<xsl:if test="$j">
<xsl:value-of select="$k"/>
<xsl:call-template name="Do">
<xsl:with-param name="j" select="$j - 1"/>
<xsl:with-param name="k" select="$k"/>
</xsl:call-template>
</xsl:if>
</xsl:template>
A. 'foo'
B. 'foo' (repeated until stack overflow)
C. 'foofoofoo'
D. 'foo foo foo'
Answer: C

IBM exam   000-142 answers real questions   000-142 demo   000-142

NO.11 Which of the following answers best defines the XForms design goal?
A. Utilizes external DTD for field types and value limits.
B. Encapsulates all JavaScript code within data elements.
C. Defines complex input controls based on assigned Schema.
D. Separates the forms content from presentation.
Answer: D

IBM dumps   000-142   000-142   000-142

NO.12 Consider the following XML document:
<?xml version="1.0" encoding="UTF-8"?>
<Books>
<Book ID="001">
<Title>Finding New World</Title>
<Author>Jone Smith</Author>
</Book>
<Book ID="080">
<Title>How to Programming</Title>
<Author>Tom Alston</Author>
</Book>
</Books>
An XML developer wants to generate a HTML document that lists the ID, title and author of a book in a
HTML table. Which of the following stylesheets can achieve the desired result?
A. <?xml version="1.0" encoding="ISO-8859-1" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="Books">
<html>
<body>
<table width="100%" border="1">
<xsl:for-each select="/">
<tr>
<td><xsl:value-of select="@ID"/></td>
<td><xsl:value-of select="Title" /></td>
<td><xsl:value-of select="Author" /></td>
</tr>
</xsl:for-each>
</table>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
B. <?xml version="1.0" encoding="ISO-8859-1" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<body>
<table width="100%" border="1">
<xsl:for-each select="Books/Book">
<tr>
<td><xsl:value-of select="@ID"/></td>
<td><xsl:value-of select="Title" /></td>
<td><xsl:value-of select="Author" /></td>
</tr>
</xsl:for-each>
</table>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
C. <?xml version="1.0" encoding="ISO-8859-1" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<body>
<table width="100%" border="1">
<xsl:for-each select="Books/Book">
<tr>
<td><xsl:value-of select="ID"/></td>
<td><xsl:value-of select="." /></td>
</tr>
</xsl:for-each>
</table>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
D. <?xml version="1.0" encoding="ISO-8859-1" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="Books">
<html>
<body>
<table width="100%" border="1">
<xsl:for-each select="Book">
<tr>
<td><xsl:value-of select="ID"/></td>
<td><xsl:value-of select="Title" /></td>
<td><xsl:value-of select="Author" /></td>
</tr>
</xsl:for-each>
</table>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
Answer: B

IBM   000-142   000-142 exam simulations   000-142

NO.13 XML data is stored and retrieved within a relational database for a data-centric application by means of
mapping XML schema elements to database tables. There are concerns that the queries and updates to
this database are slow due to the number of joins required in the SQL. What is the best option for
improving the storage and retrieval of this XML data?
A. Transform XML documents into canonical form before persisting.
B. Modify the current XML schema by converting elements to attributes where possible and re-map to
tables in order to reduce the number of tables and therefore the number of joins required.
C. Store the XML data as CLOBs without decomposing them into relational tables and provide an 'id'
based lookup.
D. Modify the current XML schema by merging all of the XML documents into a main XML document and
query using XPath.
Answer: BD

IBM   000-142   000-142 exam

NO.14 What is the correct value for the match attribute of the xsl:template below to select all elements within
an XML document?
<xsl:template match="">
<xsl:value-of select="name()"/>
<xsl:value-of select="@id"/>
<xsl:apply-templates/>
</xsl:template>
A. node()
B. */*
C. //
D. /
Answer: A

IBM   000-142 questions   000-142 certification training

NO.15 An online bookstore offers services that enables customers to view the online eBooks with a variety of
Web browsers and order high quality hard copies on demand. If the bookstore stores all the book
contents with XML format, which of the following rendering approaches is the most suitable?
A. When browsers request and customers order hard copies, transform the XML data with XSL-FO and
then convert the file into PDF for viewing and printing.
B. When browsers request and customers order hard copies, render the XML data with CSS and then use
the file for viewing and printing.
C. When browsers request, render the XML data with CSS. When customers order hard copies, transform
the XML data with XSL-FO and then convert the file into PDF for printing.
D. When browsers request, render the XML data with XSL-FO and then convert the file into PDF for
viewing. When customers order hard copies, transform the XML data with CSS and then use the file for
printing.
Answer: C

IBM exam dumps   000-142   000-142 exam prep   000-142

NO.16 Given the following DTD line, which of the following XML documents is valid?
<!ATTLIST employee empNum ID #REQUIRED>
A. <employee empNum="abcde"/>
B. <employee empNum="12345"/>
C. <employee empNum=""/>
D. <employee empNum="abcde"/> ... <employee empNum="abcde"/>
Answer: A

IBM   000-142 exam   000-142   000-142

NO.17 An Intranet Web application provides news for thousands of users inside one company. The
application gets XML data from a database and then transforms the data into HTML with server-side XSLT.
Currently the web application performs poorly. Which of the following actions should the application
developer take to address the problem?
A. Update the database to a higher version.
B. Use well formed XHTML tags in the application.
C. Supply the XML data and the stylesheet to Web browsers.
D. Use XSL-FO to make the transformation.
Answer: C

IBM test   000-142 test answers   000-142 answers real questions   000-142 answers real questions

NO.18 Which of the following statements regarding CSS transformation of XML is valid?
A. It can be used to render XML into PDF.
B. It can render XML into a format appropriate for printing.
C. It may only be applied to well formed XHTML documents.
D. It can merge multiple XML documents into a single XHTML for browser rendering.
Answer: B

IBM   000-142 test   000-142 questions   000-142   000-142

NO.19 What will the following XSLT snippet return, if the value of parameter i is "redivider"?
<xsl:template name="Do">
<xsl:param name="i"/>
<xsl:variable name="j" select="string-length($i)"/>
<xsl:choose>
<xsl:when test=" $j < 2 ">
<xsl:value-of select="$i"/>
</xsl:when>
<xsl:otherwise>
<xsl:variable name="k" select="floor($j div 2)"/>
<xsl:call-template name="Do">
<xsl:with-param name="i" select="substring($i, 1, $k)"/>
</xsl:call-template>
<xsl:call-template name="Do">
<xsl:with-param name="i" select="substring($i, $k+1, $k+1)"/>
</xsl:call-template>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
A. rreeddiivviiddeerr
B. rediv
C. redivider
D. rdvdr
Answer: C

IBM certification   000-142 study guide   000-142 practice test   000-142 exam prep

NO.20 Which XPath axis below may be described as "all nodes that contain the context node, but not the
context node itself?"
A. ancestor::
B. ancestor-or-self::
C. namespace::
D. preceding::
Answer: A

IBM   000-142 exam prep   000-142   000-142 braindump   000-142 braindump   000-142 study guide

IT-Tests.com offer the latest 70-561 Questions & Answers and high-quality 000-622 PDF Practice Test. Our C2010-501 VCE testing engine and 000-657 study guide can help you pass the real exam. High-quality 642-467 Real Exam Questions can 100% guarantee you pass the exam faster and easier. Pass the exam to obtain certification is so simple.

Article Link: http://www.it-tests.com/000-142.html

2013年11月6日星期三

Latest training guide for IBM 000-142

There are many ways to help you prepare for your IBM 000-142 exam. IT-Tests.com provide a reliable training tools to help you prepare for your IBM 000-142 exam certification. The IT-Tests.com IBM 000-142 exam materials are including test questions and answers. Our materials are very good sofeware that through the practice test. Our materials will meet all of theIT certifications.

Our IT-Tests.com have a huge IT elite team. They will accurately and quickly provide you with IBM certification 000-142 exam materials and timely update IBM 000-142 exam certification exam practice questions and answers and binding. Besides, IT-Tests.com also got a high reputation in many certification industry. The the probability of passing IBM certification 000-142 exam is very small, but the reliability of IT-Tests.com can guarantee you to pass the examination of this probability.

If you still desperately cram knowledge and spend a lot of precious time and energy to prepare for passing IBM certification 000-142 exam, and at the same time do not know how to choose a more effective shortcut to pass IBM certification 000-142 exam. Now IT-Tests.com provide you a effective method to pass IBM certification 000-142 exam. It will play a multiplier effect to help you pass the exam.

Having a IBM 000-142 certification can enhance your employment prospects,and then you can have a lot of good jobs. IT-Tests.com is a website very suitable to candidates who participate in the IBM certification 000-142 exam. IT-Tests.com can not only provide all the information related to the IBM certification 000-142 exam for the candidates, but also provide a good learning opportunity for them. IT-Tests.com be able to help you pass IBM certification 000-142 exam successfully.

IBM certification 000-142 exam is a rare examination opportunity to improve yourself and it is very valuable in the IT field. There are many IT professionals to participate in this exam. Passing IBM certification 000-142 exam can improve your IT skills. Our IT-Tests.com provide you practice questions about IBM certification 000-142 exam. IT-Tests's professional IT team will provide you with the latest training tools to help you realize their dreams earlier. IT-Tests.com have the best quality and the latest IBM certification 000-142 exam training materials and they can help you pass the IBM certification 000-142 exam successfully.

Exam Code: 000-142
Exam Name: IBM (XML 1.1 and Related Technologies)
Free One year updates to match real exam scenarios, 100% pass and refund Warranty.
Total Q&A: 98 Questions and Answers
Last Update: 2013-11-06

000-142 (XML 1.1 and Related Technologies) Free Demo Download: http://www.it-tests.com/000-142.html

NO.1 Calculating sub-totals from an XML document using XSL transformation requires special
considerations. Which of the following options is the best solution to solve this problem?
A. Create a fragment variable containing the values to total, and then use the node-set() XSLT extension
and the XPath "sum()" function to calculate the value.
B. Create a special XSLT variable that contains the results of an XPath query that performs a "sum()" of
the values to be totaled.
C. Use XSLT recursion to define a variable value that calculates the "value-of" the elements to be
sub-totaled.
D. Use XSLTC to precompile a custom Java translet that will extract the values to be totaled and returns
the sum of those values. This return value is then used in an XSL variable for output.
Answer: A

IBM   000-142 exam dumps   000-142   000-142   000-142

NO.2 Given the following DTD line, which of the following XML documents is valid?
<!ATTLIST employee empNum ID #REQUIRED>
A. <employee empNum="abcde"/>
B. <employee empNum="12345"/>
C. <employee empNum=""/>
D. <employee empNum="abcde"/> ... <employee empNum="abcde"/>
Answer: A

IBM exam prep   000-142   000-142   000-142   000-142 braindump

NO.3 Which two of the following may NOT be nested within a CDATA section?
A. HTML documents
B. Javascript source
C. Other CDATA sections
D. The XML escape characters (<, >, &, ', and ")
E. XSLT that needs to be processed
Answer: CE

IBM certification training   000-142   000-142

NO.4 In a museum, XML data stored on powerful servers is served to customers through Web browsers
running on network-connected computers. The performance of those computers is limited. Which of the
following approaches will best suit the XML transformation?
A. Pass both the XML data and stylesheets to web browsers.
B. Output XHTML via a server-side XSL transformation.
C. Use only a subset of the XHTML and use Format Objects to apply style.
D. Transform the XML data into the open format document and display.
Answer: B

IBM   000-142 original questions   000-142 original questions

NO.5 What is the result of the following XSLT template if the value of k is the string 'foo'?
<xsl:template name="Do">
<xsl:param name="j" select="3"/>
<xsl:param name="k"/>
<xsl:if test="$j">
<xsl:value-of select="$k"/>
<xsl:call-template name="Do">
<xsl:with-param name="j" select="$j - 1"/>
<xsl:with-param name="k" select="$k"/>
</xsl:call-template>
</xsl:if>
</xsl:template>
A. 'foo'
B. 'foo' (repeated until stack overflow)
C. 'foofoofoo'
D. 'foo foo foo'
Answer: C

IBM   000-142   000-142

NO.6 A developer wishes to make an XSLT template more robust by checking a parameter passed to it for
errors and boundary conditions. The template accepts a parameter of type number. What condition
will NOT have to be checked?
A. number greater than allowed range
B. value of 0
C. type of the parameter value
D. Integer numbers
Answer: C

IBM   000-142   000-142 exam   000-142 exam dumps

NO.7 What is the correct value for the match attribute of the xsl:template below to select all elements within
an XML document?
<xsl:template match="">
<xsl:value-of select="name()"/>
<xsl:value-of select="@id"/>
<xsl:apply-templates/>
</xsl:template>
A. node()
B. */*
C. //
D. /
Answer: A

IBM   000-142 test questions   000-142   000-142

NO.8 Which of the following is NOT included within a generated JAXB 2.0 package?
A. A name, which may be derived directly from the XML namespace URI.
B. A set of Java element interfaces representing element declarations occurring with the DTD.
C. An ObjectFactory class containing an instance factory method for each Java content and element
interface.
D. A Javadoc for the package.
Answer: B

IBM   000-142   000-142 study guide   000-142   000-142 exam

NO.9 Analyze the following XML and DTD fragments that implement ID, IDREF and IDREFS used to link
manager and subordinate relationships. Where is the error in the implementation of this logic?
employees.dtd:
<!ATTLIST employee empid ID #REQUIRED>
<!ATTLIST employee mgrid ID #IMPLIED>
<!ATTLIST employee mgr IDREF #IMPLIED>
<!ATTLIST employee subs IDREFS #IMPLIED>
employees.xml:
<employees>
<employee empid="e1" mgrid="m1" subs="e2"><name>Bob Smith</name></employee>
<employee empid="e2" mgrid="m2" mgr="m1" subs="e3 e4"><name>Carol
Jones</name></employee>
<employee empid="e3" mgr="m2"><name>Keith Martin</name></employee>
<employee empid="e4" mgr="m2"><name>Monica Williams</name></employee>
</employees>
A. The subs IDREFS is formatted improperly for the second employee record.
B. The mgrid must be defined as "#REQUIRED" in the DTD.
C. The empid and mgrid attributes conflict as an element may only have a single ID attribute.
D. First two records are invalid as each employee record may have either empid or mgrid attribute, but not
both.
Answer: C

IBM questions   000-142 demo   000-142 original questions   000-142 study guide

NO.10 An Intranet Web application provides news for thousands of users inside one company. The
application gets XML data from a database and then transforms the data into HTML with server-side XSLT.
Currently the web application performs poorly. Which of the following actions should the application
developer take to address the problem?
A. Update the database to a higher version.
B. Use well formed XHTML tags in the application.
C. Supply the XML data and the stylesheet to Web browsers.
D. Use XSL-FO to make the transformation.
Answer: C

IBM braindump   000-142   000-142

NO.11 Which of the following is a trait that distinguishes XSLT 2.0 from XSLT 1.0?
A. xsl:for-each in XSLT 2.0 supports arbitrary sequences in addition to node sets.
B. xsl:value-of in XSLT 2.0 includes an attribute called "delimiter" that allows delimited sequences.
C. xsl:variable in XSLT 2.0 includes an attribute called "type" to indicate type.
D. xsl:with-param in XSLT 2.0 does not throw an error if that parameter is not defined in the called
template.
Answer: A

IBM   000-142   000-142 certification   000-142 test answers   000-142

NO.12 XML data is stored and retrieved within a relational database for a data-centric application by means of
mapping XML schema elements to database tables. There are concerns that the queries and updates to
this database are slow due to the number of joins required in the SQL. What is the best option for
improving the storage and retrieval of this XML data?
A. Transform XML documents into canonical form before persisting.
B. Modify the current XML schema by converting elements to attributes where possible and re-map to
tables in order to reduce the number of tables and therefore the number of joins required.
C. Store the XML data as CLOBs without decomposing them into relational tables and provide an 'id'
based lookup.
D. Modify the current XML schema by merging all of the XML documents into a main XML document and
query using XPath.
Answer: BD

IBM   000-142 test answers   000-142 exam

NO.13 The link element in the following XML fragment is the context node. Its target attribute is stored
within the xsl:variable linkTarget. What XPath expression will find the page element whose id attribute
value is described by the value of linkTarget?
<site>
<page id="000"/>
<page id="001">
<page id="001_000">
<link target="003_000"/>
</page>
<page id="001_001"/>
</page>
<page id="002"/>
<page id="003">
<page id="003_000"/>
<page id="003_001"/>
</page>
</site>
A. ..//page[@id = $linkTarget]
B. ../../page[@id = '003']/page[@id = linkTarget]
C. //page[@id = $linkTarget]
D. ancestor::page/ancestor::page/child::page/child::page[id = $linkTarget]
Answer: C

IBM answers real questions   000-142   000-142 certification

NO.14 Which of the following statements regarding CSS transformation of XML is valid?
A. It can be used to render XML into PDF.
B. It can render XML into a format appropriate for printing.
C. It may only be applied to well formed XHTML documents.
D. It can merge multiple XML documents into a single XHTML for browser rendering.
Answer: B

IBM   000-142   000-142   000-142   000-142 exam simulations

NO.15 Consider the following XML document:
<?xml version="1.0" encoding="UTF-8"?>
<Books>
<Book ID="001">
<Title>Finding New World</Title>
<Author>Jone Smith</Author>
</Book>
<Book ID="080">
<Title>How to Programming</Title>
<Author>Tom Alston</Author>
</Book>
</Books>
An XML developer wants to generate a HTML document that lists the ID, title and author of a book in a
HTML table. Which of the following stylesheets can achieve the desired result?
A. <?xml version="1.0" encoding="ISO-8859-1" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="Books">
<html>
<body>
<table width="100%" border="1">
<xsl:for-each select="/">
<tr>
<td><xsl:value-of select="@ID"/></td>
<td><xsl:value-of select="Title" /></td>
<td><xsl:value-of select="Author" /></td>
</tr>
</xsl:for-each>
</table>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
B. <?xml version="1.0" encoding="ISO-8859-1" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<body>
<table width="100%" border="1">
<xsl:for-each select="Books/Book">
<tr>
<td><xsl:value-of select="@ID"/></td>
<td><xsl:value-of select="Title" /></td>
<td><xsl:value-of select="Author" /></td>
</tr>
</xsl:for-each>
</table>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
C. <?xml version="1.0" encoding="ISO-8859-1" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<body>
<table width="100%" border="1">
<xsl:for-each select="Books/Book">
<tr>
<td><xsl:value-of select="ID"/></td>
<td><xsl:value-of select="." /></td>
</tr>
</xsl:for-each>
</table>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
D. <?xml version="1.0" encoding="ISO-8859-1" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="Books">
<html>
<body>
<table width="100%" border="1">
<xsl:for-each select="Book">
<tr>
<td><xsl:value-of select="ID"/></td>
<td><xsl:value-of select="Title" /></td>
<td><xsl:value-of select="Author" /></td>
</tr>
</xsl:for-each>
</table>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
Answer: B

IBM   000-142   000-142 certification training   000-142   000-142

NO.16 An application needs to process XML documents containing data retrieved from a legacy system.
Some of the documents use character sets which are not supported by the XML parser. Which of the
following is the best solution to address this problem?
A. Implement a custom parser to handle the legacy character sets.
B. Implement a pre-processor to convert documents with unsupported characters sets to UTF-8.
C. Define two XML Schema documents for each of the character sets.
D. Add the definitions of the legacy character sets to the parser's configuration file.
Answer: B

IBM   000-142 pdf   000-142 test answers   000-142

NO.17 What will the following XSLT snippet return, if the value of parameter i is "redivider"?
<xsl:template name="Do">
<xsl:param name="i"/>
<xsl:variable name="j" select="string-length($i)"/>
<xsl:choose>
<xsl:when test=" $j < 2 ">
<xsl:value-of select="$i"/>
</xsl:when>
<xsl:otherwise>
<xsl:variable name="k" select="floor($j div 2)"/>
<xsl:call-template name="Do">
<xsl:with-param name="i" select="substring($i, 1, $k)"/>
</xsl:call-template>
<xsl:call-template name="Do">
<xsl:with-param name="i" select="substring($i, $k+1, $k+1)"/>
</xsl:call-template>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
A. rreeddiivviiddeerr
B. rediv
C. redivider
D. rdvdr
Answer: C

IBM answers real questions   000-142   000-142 practice test   000-142 exam dumps

NO.18 An online bookstore offers services that enables customers to view the online eBooks with a variety of
Web browsers and order high quality hard copies on demand. If the bookstore stores all the book
contents with XML format, which of the following rendering approaches is the most suitable?
A. When browsers request and customers order hard copies, transform the XML data with XSL-FO and
then convert the file into PDF for viewing and printing.
B. When browsers request and customers order hard copies, render the XML data with CSS and then use
the file for viewing and printing.
C. When browsers request, render the XML data with CSS. When customers order hard copies, transform
the XML data with XSL-FO and then convert the file into PDF for printing.
D. When browsers request, render the XML data with XSL-FO and then convert the file into PDF for
viewing. When customers order hard copies, transform the XML data with CSS and then use the file for
printing.
Answer: C

IBM exam prep   000-142   000-142 certification training   000-142

NO.19 Which XPath axis below may be described as "all nodes that contain the context node, but not the
context node itself?"
A. ancestor::
B. ancestor-or-self::
C. namespace::
D. preceding::
Answer: A

IBM   000-142   000-142   000-142   000-142

NO.20 Which of the following answers best defines the XForms design goal?
A. Utilizes external DTD for field types and value limits.
B. Encapsulates all JavaScript code within data elements.
C. Defines complex input controls based on assigned Schema.
D. Separates the forms content from presentation.
Answer: D

IBM   000-142 exam dumps   000-142 original questions

IT-Tests.com offer the latest 000-456 Questions & Answers and high-quality ST0-202 PDF Practice Test. Our 70-342 VCE testing engine and HP3-C29 study guide can help you pass the real exam. High-quality Real Exam Questions can 100% guarantee you pass the exam faster and easier. Pass the exam to obtain certification is so simple.

Article Link: http://www.it-tests.com/000-142.html

2013年10月5日星期六

Latest IBM 000-142 of exam practice questions and answers

IBM 000-142 is a certification exam to test IT professional knowledge. IT-Tests.com is a website which can help you quickly pass the IBM certification 000-142 exams. Before the exam, you use pertinence training and test exercises and answers that we provide, and in a short time you'll have a lot of harvest.

The exam materiala of the IT-Tests.com IBM 000-142 is specifically designed for candicates. It is a professional exam materials that the IT elite team specially tailored for you. Passed the exam certification in the IT industry will be reflected in international value. There are many dumps and training materials providers that would guarantee you pass the IBM 000-142 exam. IT-Tests.com speak with the facts, the moment when the miracle occurs can prove every word we said.

Exam Code: 000-142
Exam Name: IBM (XML 1.1 and Related Technologies)
Free One year updates to match real exam scenarios, 100% pass and refund Warranty.
Total Q&A: 98 Questions and Answers
Last Update: 2013-10-04

What is IT-Tests.com IBM 000-142 exam training materials? There are many online sites provide IBM 000-142 exam training resources. But IT-Tests.com provide you the most actual information. IT-Tests.com have professional personnel of certification experts, technical staff, and comprehensive language masters. They are always studying the latest IBM 000-142 exam. Therefore, if you want to pass the IBM 000-142 examination, please Login IT-Tests.com website. It will let you close to your success, and into your dream paradise step by step.

In this era, everything is on the rise. Do not you want to break you own? Double your salary, which is not impossible. Through the IBM 000-142 exam, you will get what you want. IT-Tests.com will provide you with the best training materials, and make you pass the exam and get the certification. It's a marvel that the pass rate can achieve 100%. This is indeed true, no doubt, do not consider, act now.

000-142 (XML 1.1 and Related Technologies) Free Demo Download: http://www.it-tests.com/000-142.html

NO.1 In a museum, XML data stored on powerful servers is served to customers through Web browsers
running on network-connected computers. The performance of those computers is limited. Which of the
following approaches will best suit the XML transformation?
A. Pass both the XML data and stylesheets to web browsers.
B. Output XHTML via a server-side XSL transformation.
C. Use only a subset of the XHTML and use Format Objects to apply style.
D. Transform the XML data into the open format document and display.
Answer: B

IBM demo   000-142   000-142 practice test   000-142 dumps   000-142

NO.2 Consider the following XML document:
<?xml version="1.0" encoding="UTF-8"?>
<Books>
<Book ID="001">
<Title>Finding New World</Title>
<Author>Jone Smith</Author>
</Book>
<Book ID="080">
<Title>How to Programming</Title>
<Author>Tom Alston</Author>
</Book>
</Books>
An XML developer wants to generate a HTML document that lists the ID, title and author of a book in a
HTML table. Which of the following stylesheets can achieve the desired result?
A. <?xml version="1.0" encoding="ISO-8859-1" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="Books">
<html>
<body>
<table width="100%" border="1">
<xsl:for-each select="/">
<tr>
<td><xsl:value-of select="@ID"/></td>
<td><xsl:value-of select="Title" /></td>
<td><xsl:value-of select="Author" /></td>
</tr>
</xsl:for-each>
</table>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
B. <?xml version="1.0" encoding="ISO-8859-1" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<body>
<table width="100%" border="1">
<xsl:for-each select="Books/Book">
<tr>
<td><xsl:value-of select="@ID"/></td>
<td><xsl:value-of select="Title" /></td>
<td><xsl:value-of select="Author" /></td>
</tr>
</xsl:for-each>
</table>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
C. <?xml version="1.0" encoding="ISO-8859-1" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="/">
<html>
<body>
<table width="100%" border="1">
<xsl:for-each select="Books/Book">
<tr>
<td><xsl:value-of select="ID"/></td>
<td><xsl:value-of select="." /></td>
</tr>
</xsl:for-each>
</table>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
D. <?xml version="1.0" encoding="ISO-8859-1" ?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:template match="Books">
<html>
<body>
<table width="100%" border="1">
<xsl:for-each select="Book">
<tr>
<td><xsl:value-of select="ID"/></td>
<td><xsl:value-of select="Title" /></td>
<td><xsl:value-of select="Author" /></td>
</tr>
</xsl:for-each>
</table>
</body>
</html>
</xsl:template>
</xsl:stylesheet>
Answer: B

IBM test questions   000-142 test   000-142 exam   000-142 test

NO.3 Which of the following is NOT included within a generated JAXB 2.0 package?
A. A name, which may be derived directly from the XML namespace URI.
B. A set of Java element interfaces representing element declarations occurring with the DTD.
C. An ObjectFactory class containing an instance factory method for each Java content and element
interface.
D. A Javadoc for the package.
Answer: B

IBM original questions   000-142   000-142   000-142 certification   000-142

NO.4 Which of the following statements regarding CSS transformation of XML is valid?
A. It can be used to render XML into PDF.
B. It can render XML into a format appropriate for printing.
C. It may only be applied to well formed XHTML documents.
D. It can merge multiple XML documents into a single XHTML for browser rendering.
Answer: B

IBM   000-142 certification training   000-142 dumps   000-142 demo   000-142 test answers

NO.5 The link element in the following XML fragment is the context node. Its target attribute is stored
within the xsl:variable linkTarget. What XPath expression will find the page element whose id attribute
value is described by the value of linkTarget?
<site>
<page id="000"/>
<page id="001">
<page id="001_000">
<link target="003_000"/>
</page>
<page id="001_001"/>
</page>
<page id="002"/>
<page id="003">
<page id="003_000"/>
<page id="003_001"/>
</page>
</site>
A. ..//page[@id = $linkTarget]
B. ../../page[@id = '003']/page[@id = linkTarget]
C. //page[@id = $linkTarget]
D. ancestor::page/ancestor::page/child::page/child::page[id = $linkTarget]
Answer: C

IBM   000-142   000-142

NO.6 A developer wishes to make an XSLT template more robust by checking a parameter passed to it for
errors and boundary conditions. The template accepts a parameter of type number. What condition
will NOT have to be checked?
A. number greater than allowed range
B. value of 0
C. type of the parameter value
D. Integer numbers
Answer: C

IBM exam prep   000-142 original questions   000-142

NO.7 What is the correct value for the match attribute of the xsl:template below to select all elements within
an XML document?
<xsl:template match="">
<xsl:value-of select="name()"/>
<xsl:value-of select="@id"/>
<xsl:apply-templates/>
</xsl:template>
A. node()
B. */*
C. //
D. /
Answer: A

IBM study guide   000-142   000-142   000-142 test answers

NO.8 Analyze the following XML and DTD fragments that implement ID, IDREF and IDREFS used to link
manager and subordinate relationships. Where is the error in the implementation of this logic?
employees.dtd:
<!ATTLIST employee empid ID #REQUIRED>
<!ATTLIST employee mgrid ID #IMPLIED>
<!ATTLIST employee mgr IDREF #IMPLIED>
<!ATTLIST employee subs IDREFS #IMPLIED>
employees.xml:
<employees>
<employee empid="e1" mgrid="m1" subs="e2"><name>Bob Smith</name></employee>
<employee empid="e2" mgrid="m2" mgr="m1" subs="e3 e4"><name>Carol
Jones</name></employee>
<employee empid="e3" mgr="m2"><name>Keith Martin</name></employee>
<employee empid="e4" mgr="m2"><name>Monica Williams</name></employee>
</employees>
A. The subs IDREFS is formatted improperly for the second employee record.
B. The mgrid must be defined as "#REQUIRED" in the DTD.
C. The empid and mgrid attributes conflict as an element may only have a single ID attribute.
D. First two records are invalid as each employee record may have either empid or mgrid attribute, but not
both.
Answer: C

IBM   000-142 study guide   000-142 questions   000-142   000-142 demo

NO.9 Which of the following answers best defines the XForms design goal?
A. Utilizes external DTD for field types and value limits.
B. Encapsulates all JavaScript code within data elements.
C. Defines complex input controls based on assigned Schema.
D. Separates the forms content from presentation.
Answer: D

IBM pdf   000-142 test   000-142

NO.10 Which of the following is a trait that distinguishes XSLT 2.0 from XSLT 1.0?
A. xsl:for-each in XSLT 2.0 supports arbitrary sequences in addition to node sets.
B. xsl:value-of in XSLT 2.0 includes an attribute called "delimiter" that allows delimited sequences.
C. xsl:variable in XSLT 2.0 includes an attribute called "type" to indicate type.
D. xsl:with-param in XSLT 2.0 does not throw an error if that parameter is not defined in the called
template.
Answer: A

IBM   000-142 braindump   000-142   000-142 answers real questions

NO.11 What will the following XSLT snippet return, if the value of parameter i is "redivider"?
<xsl:template name="Do">
<xsl:param name="i"/>
<xsl:variable name="j" select="string-length($i)"/>
<xsl:choose>
<xsl:when test=" $j < 2 ">
<xsl:value-of select="$i"/>
</xsl:when>
<xsl:otherwise>
<xsl:variable name="k" select="floor($j div 2)"/>
<xsl:call-template name="Do">
<xsl:with-param name="i" select="substring($i, 1, $k)"/>
</xsl:call-template>
<xsl:call-template name="Do">
<xsl:with-param name="i" select="substring($i, $k+1, $k+1)"/>
</xsl:call-template>
</xsl:otherwise>
</xsl:choose>
</xsl:template>
A. rreeddiivviiddeerr
B. rediv
C. redivider
D. rdvdr
Answer: C

IBM   000-142   000-142 certification   000-142   000-142

NO.12 Which XPath axis below may be described as "all nodes that contain the context node, but not the
context node itself?"
A. ancestor::
B. ancestor-or-self::
C. namespace::
D. preceding::
Answer: A

IBM   000-142   000-142 test

NO.13 An online bookstore offers services that enables customers to view the online eBooks with a variety of
Web browsers and order high quality hard copies on demand. If the bookstore stores all the book
contents with XML format, which of the following rendering approaches is the most suitable?
A. When browsers request and customers order hard copies, transform the XML data with XSL-FO and
then convert the file into PDF for viewing and printing.
B. When browsers request and customers order hard copies, render the XML data with CSS and then use
the file for viewing and printing.
C. When browsers request, render the XML data with CSS. When customers order hard copies, transform
the XML data with XSL-FO and then convert the file into PDF for printing.
D. When browsers request, render the XML data with XSL-FO and then convert the file into PDF for
viewing. When customers order hard copies, transform the XML data with CSS and then use the file for
printing.
Answer: C

IBM practice test   000-142 pdf   000-142   000-142 original questions   000-142

NO.14 XML data is stored and retrieved within a relational database for a data-centric application by means of
mapping XML schema elements to database tables. There are concerns that the queries and updates to
this database are slow due to the number of joins required in the SQL. What is the best option for
improving the storage and retrieval of this XML data?
A. Transform XML documents into canonical form before persisting.
B. Modify the current XML schema by converting elements to attributes where possible and re-map to
tables in order to reduce the number of tables and therefore the number of joins required.
C. Store the XML data as CLOBs without decomposing them into relational tables and provide an 'id'
based lookup.
D. Modify the current XML schema by merging all of the XML documents into a main XML document and
query using XPath.
Answer: BD

IBM   000-142 exam dumps   000-142 certification training

NO.15 An Intranet Web application provides news for thousands of users inside one company. The
application gets XML data from a database and then transforms the data into HTML with server-side XSLT.
Currently the web application performs poorly. Which of the following actions should the application
developer take to address the problem?
A. Update the database to a higher version.
B. Use well formed XHTML tags in the application.
C. Supply the XML data and the stylesheet to Web browsers.
D. Use XSL-FO to make the transformation.
Answer: C

IBM   000-142 exam prep   000-142   000-142   000-142 exam dumps

NO.16 An application needs to process XML documents containing data retrieved from a legacy system.
Some of the documents use character sets which are not supported by the XML parser. Which of the
following is the best solution to address this problem?
A. Implement a custom parser to handle the legacy character sets.
B. Implement a pre-processor to convert documents with unsupported characters sets to UTF-8.
C. Define two XML Schema documents for each of the character sets.
D. Add the definitions of the legacy character sets to the parser's configuration file.
Answer: B

IBM   000-142 pdf   000-142 certification training   000-142

NO.17 Which two of the following may NOT be nested within a CDATA section?
A. HTML documents
B. Javascript source
C. Other CDATA sections
D. The XML escape characters (<, >, &, ', and ")
E. XSLT that needs to be processed
Answer: CE

IBM   000-142 answers real questions   000-142 study guide   000-142

NO.18 Calculating sub-totals from an XML document using XSL transformation requires special
considerations. Which of the following options is the best solution to solve this problem?
A. Create a fragment variable containing the values to total, and then use the node-set() XSLT extension
and the XPath "sum()" function to calculate the value.
B. Create a special XSLT variable that contains the results of an XPath query that performs a "sum()" of
the values to be totaled.
C. Use XSLT recursion to define a variable value that calculates the "value-of" the elements to be
sub-totaled.
D. Use XSLTC to precompile a custom Java translet that will extract the values to be totaled and returns
the sum of those values. This return value is then used in an XSL variable for output.
Answer: A

IBM   000-142   000-142 exam prep   000-142

NO.19 What is the result of the following XSLT template if the value of k is the string 'foo'?
<xsl:template name="Do">
<xsl:param name="j" select="3"/>
<xsl:param name="k"/>
<xsl:if test="$j">
<xsl:value-of select="$k"/>
<xsl:call-template name="Do">
<xsl:with-param name="j" select="$j - 1"/>
<xsl:with-param name="k" select="$k"/>
</xsl:call-template>
</xsl:if>
</xsl:template>
A. 'foo'
B. 'foo' (repeated until stack overflow)
C. 'foofoofoo'
D. 'foo foo foo'
Answer: C

IBM   000-142 pdf   000-142   000-142

NO.20 Given the following DTD line, which of the following XML documents is valid?
<!ATTLIST employee empNum ID #REQUIRED>
A. <employee empNum="abcde"/>
B. <employee empNum="12345"/>
C. <employee empNum=""/>
D. <employee empNum="abcde"/> ... <employee empNum="abcde"/>
Answer: A

IBM   000-142   000-142   000-142

IT-Tests.com offer the latest 70-481 Questions & Answers and high-quality MB6-870 PDF Practice Test. Our 1Z0-478 VCE testing engine and MB5-854 study guide can help you pass the real exam. High-quality 000-350 Real Exam Questions can 100% guarantee you pass the exam faster and easier. Pass the exam to obtain certification is so simple.

Article Link: http://www.it-tests.com/000-142.html