File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes XML and Related Technologies and the fly likes Interview Q help me Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Interview Q help me" Watch "Interview Q help me" New topic
Author

Interview Q help me

vasanth
Greenhorn

Joined: Jan 10, 2002
Posts: 7
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

Joined: Apr 05, 2000
Posts: 1449
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.


The only reason for time is so that everything doesn't happen all at once.
- Buckaroo Banzai
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Interview Q help me