File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Interview Q help me

 
vasanth
Greenhorn
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can u help anyone of them which one is correct , this is what i faced in one of the interview.
Products r currently modeled as given in the folllowing format
<Product SKU = �6789�>
<type>steel</type>
</product>
The information is stored in the database, and xml similar to above format is generated by an application and fed to a web application that uses XSL FO to render the information. If �sku� has to be changed to be of an Element node type, which of the following true?
1. The xml parser that parses above documents has to be re-written
2. 2. The XSL processor that parses the product information has to be re-written
3. The xsl template that process the product information have to be modified
4. DataBase referential integrity constraints have to be modified to match the changes
5. Application logic that generates XML from the database has to be modified

What would be the best mechanism to convert an xml schema into an object based programming language class?
 Write an object based application that reads the xml schema and converts all of the type definitions to an object based programming language classes
 Write an XSLT stylesheet that transforms the xml schema to an object-based programming language class
 Write a Perl application that reads the xml schema and converts all the type definitions to an object-based programming language classes
 There is no relation between XML Schema and an object-based programming languages�s classes
 
John Wetherbie
Rancher
Posts: 1449
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This really isn't an XML cert related question so I'm moving this to the XML, XSL, DOM & SAX forum.
BTW, please change your displayed name to follow the JavaRanch naming policy. You can do this here.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic