Question no. 1: An online parts supplier is creating an XML-based application to deliver data to B2B suppliers and vendors, and also for use by B2C clients of various types. Which of the following provides the BEST design solution for the various clients consuming the XML data?
a)Use a single XSL stylesheet to transform XHTML1.1 linking to a CSS2 stylesheet for formatting.
b)Process the HTTP request and execute client-specific XSL transformations according to the client's capabilities.
c)Evaluate the client's needs based on the HTTP request and deliver formatted HTML to the client.
d)Deliver XML content to B2B clients and XHTML/HTML to B2C clients.
e)Pass XML directly to B2B clients, and use Active Server Pages or
Java Server Pages to deliver customized HTML to B2C clients.
What is the correct answer to this question and Why ?
Question no. 2:An XML developer is formatting XML output to HTML for multiple client types. Client memory footprint is a consideration. Which of the following approaches would BEST suit this environment?
a)Use only a subset of XHTML 1.1, relying on Format Objects to apply style.
b)Let the client process both the XML and the XSL documents.
c)Output HTML via a server-side XSL Transformation and embed CSS2 style information in the xsl:template actions
What is the correct answer to this question and Why ?
Please help.
Thanks
Rajan
[ December 28, 2002: Message edited by: Rajan Thiyagarajan ]
[ December 28, 2002: Message edited by: Rajan Thiyagarajan ]