Basic Search  Advanced Search   
Topics Resources Free Library Software XML News About Us
  You are here: home Answer, Win & Learn Monday, 27 March 2006

Answer, Win & Learn

*** The competition is over.***
Answer two small questions and enter a chance to win a book. The names of two lucky winners will be announced on Monday, August 27, 2001 and they'll have a option to choose from following two recent books published by External linkNew Riders Publishing.
Inside XSLTInside XSLT (Author: Steve Holzner): This example-oriented book on XSLT covers a wide scope of topics including: XML to HTML, XML to Music, XML with Java, stlesheet creation and usage, nodes and attributes, sorting data, creating XPath expressions, using XPath and XSLT functions, namespaces, names templates, name variables, designing style sheets, using XSLT processor API's and the 56 XSL formatting objects.
XML and SQL Server 2000XML and SQL Server 2000 (Author: John Griffin): This book is an ideal resource for SQL developers who need to learn about the new XML capabilities of SQL Server 2000. Author John Griffin writes for web developers interested in using XML in their projects and instructs on its complexities and implementation process. He provides a refresher on XML and continues through coverage of DTDs and their use of document validation. Griffin presents the many ways of generating and manipulating XML from SQL Server 2000 along with intricacies of XSLT, the XPath specification, and Microsoft's XDR Schema.
Alright, so get ready and see if you can answer following two simple questions - don't forget to enter your email address to enter a chance to win one of the above books. Good luck!

Question 1:

Source XML File (book1.xml) XSL Stylesheet File (book1.xsl)
<?xml version="1.0"?>
<book ISBN="0735711364" title="Inside XSLT" DatePublished="July 20, 2001" Publisher="New Riders Publishing">
     <Author>Steve Holzner</Author>
     <Buy Seller="Amazon" Price="$34.99" URL="" />
<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet xmlns:xsl="" version="1.0">
     <xsl:output method="text" encoding="UTF-8"/>

       <xsl:template match="/" >
         <xsl:apply-templates select="book" />

       <xsl:template match="book">
         <xsl:for-each select="@*">
          <xsl:value-of select="name()"/>:<xsl:text> </xsl:text><xsl:value-of select="." />
What do you think the output will be when the stylesheet (book1.xsl) is applied on the source XML file (book1.xml)?


Question 2:

SQL Server 2000 XML: Updategram (http://localhost/SQLVirDir/templates/northwind1.xml)
<ROOT xmlns:updg="urn:schemas-microsoft-com:xml-updategram">

       <Shippers ShipperID="1" />

Which action does the above Updategram perform: is it Insert, Delete or Update?


E-mail address:  

The email address provided here will ONLY be used for this competition. It will NOT be used by PerfectXML for any other purpose and also will not be shared with partners.
  Contact Us |  | Site Guide | About PerfectXML | Advertise ©2004 All rights reserved. | Privacy