Win a copy of Escape Velocity: Better Metrics for Agile Teams this week in the Agile and Other Processes forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Tim Cooke
  • Paul Clapham
  • Jeanne Boyarsky
Sheriffs:
  • Ron McLeod
  • Frank Carver
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Al Hobbs
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • fred rosenberger

some questions on xml/xslt

 
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
1) <customer id="2">
<name>SwellMobile</name>
<address><city>Kansas City</city><state>MO</state></address>
<purchase id="124" totalCost="984.30">
<item id="123" quantity="27" />
<item id="456" quantity="13" />
</purchase>
</customer>

Assume that the function XMLCOLUMN("cust.data") returns the XML documents from the database. Which of the following XQuery statements returns an XML document containing the distinct states where the customers are located?
2)Which of the following is NOT a concern when refactoring the STRUCTURE of an XML document?
(only 1 is correct)
A.Element naming convention.
B.Ease of Authoring.
C.Ease of Processing.
D.Levels of element nesting.

3)What is the result of the following XSLT template?

<xsl:template name="Do">
<xsl:param name="j" select="1"/>
<xsl:if test="$j <= 5">
<xsl:value-of select="$j"/>
<xsl:call-template name="Do">
<xsl:with-param name="j" select="$j + 1"/>
</xsl:call-template>
</xsl:if>
</xsl:template>
 
Nothing up my sleeve ... and ... presto! A tiny ad:
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic