Solved

Interview Questions : XML, XSL, Xpath, Xquery, Schema, DTD

Posted on 2004-08-25
4
50,853 Views
Last Modified: 2013-11-19
hey Gurus,

I have basic Idea of XML and XSL. but I have not done any Projects completely based on XML, XSL.. Now I have an interview this week  n one of the required skills for the job are XML/XSL... If any one have any Idea about the sample Interview Questions Please send them to me

thanks In advance
0
Comment
Question by:kiran_ch5
  • 2
  • 2
4 Comments
 
LVL 26

Expert Comment

by:rdcpro
ID: 11904457
I would spend some time working out some sample XML/XSLT problems.  It's almost impossible to guess what questions they will ask.  Though, in many interviews over the last few years (I do project consulting, so I've had my fair share of interviews), I have yet to meet an interviewer that actually asked me anything about it.  I think it's because most of them don't know about it anyway.  I often will try to guide the discussion to XML/XSLT based solutions, mostly to find out what level of exertise there is among my future associates.  

I have a lot of XML XSLT examples on my web site you might find interesting.  If you have IE 6, you can run most of them right from the web page:

http://rdcpro.com

Regards,
Mike Sharp
0
 

Author Comment

by:kiran_ch5
ID: 11915421
Mike

Thanks for your response.. but I applied the job in web development.. Company have XSL and XML experts in that group... So I am expecting some techinal Questions on XML and XSL..

I just have general knowledge of Conditional Processing ,Expressions &Templates ,Namespaces ,Output ,Patterns and Xpath ,Properties and Methods ,Sorting and Queries ...
 but does not have much experince in XSL FO  and Xpath..

As a experinced XML/XSL developer what Questions you will ask me if I apply job under you...

Thanks

0
 
LVL 26

Accepted Solution

by:
rdcpro earned 200 total points
ID: 11915740
I'd start out with some basic questions, like given a set of nodes, how would you create an HTML table.

http://rdcpro.com/Members/rdcpro/snippets/simplegrouping/

If you used a for-each, I'd modify the question to get you to use an apply-templates.

If you can take some real-world XML, and create a well formed HTML table out of it, you'll probably have a basic knowledge.  There are many techniques that are more advanced.   Another good question would be to take the table you started with, and then add a TD cell that contains the sum of a set of nodes.  

Next, I might get you to add a recursive routine using call-templates.

http://rdcpro.com/Members/rdcpro/snippets/recursionandcounting/

Grouping is always a difficult issue, so I'd probably press you to come up with a relatively simple XPath grouping solution for the table:

http://rdcpro.com/Members/rdcpro/snippets/xpathgrouping/

Then I would probably take the table example a bit further, and see if you knew anything about Muenchian grouping, by asking you to group the data in the table by some value.  

http://rdcpro.com/Members/rdcpro/snippets/columnrowgrouping/
http://rdcpro.com/Members/rdcpro/snippets/groupinggrades/

And if you want to know how this Muenchian grouping thing goes, I have a short tutorial on it:

http://rdcpro.com/zones/xml/xslt/faqroot/faq-grouping-1.1  

But first figure out how to create a basic HTML page with an HTML table on it using XML/XSLT.  

Other good questions would revolve around how you deal with namespaces in XSLT:

http://rdcpro.com/Members/rdcpro/snippets/xsltandnamespaces/

But really, even if they're experts there, there are so many questions to ask, you'll probably only get at the most one or two on XSLT, unless that's what they're hiring you for--in which case you should be an expert.

Good luck!

Regards,
Mike Sharp
0
 

Author Comment

by:kiran_ch5
ID: 11917821
Thanks Mike.. I really apprecitae your time..



0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

Introduction Knockoutjs (Knockout) is a JavaScript framework (Model View ViewModel or MVVM framework).   The main ideology behind Knockout is to control from JavaScript how a page looks whilst creating an engaging user experience in the least …
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now