(DTD) Below ** DO NOT ADD YOUR PERSONAL SIGNATURE TO FILE THANKS
1) Open up the [url removed, login to view] file in your text editor.
TASK 1: Use the DTD to draw out the XML tree structure for the file. Create the XML tree structure using MS Word or Google Docs
2) Use XML tree structure to make correct XPath statements in XSLT stylesheets.
TASK 2: With the tree structure, create an XSLT stylesheet for [url removed, login to view] that will create a table with the following column labels:
Volume, Number, Title, Start Page, End Page, Page Length.
-Choose a good value of "select" for-each select statement. Most of the columns in the table represent children of element “article”. Therefore element “article” might be one good suggestion. However, you can’t just enter select="article". This statement would imply that article is a child element of [url removed, login to view] that XPath and place its value in the select field of the for-each statement.
- Column Page Length – create formula for page length so that an article that starts and finishes on page 5 gets counted as being 1 page long rather than 0 pages.
*Replace nodeX and nodeY with real elements from sigmod.xml.
-Finally, save [url removed, login to view] and put a reference to it in [url removed, login to view] after the DTD code.
-Open up [url removed, login to view] (not [url removed, login to view]!) in Firefox and you should see your new, working table. If not, fix the errors in your .xsl file.
<!DOCTYPE SigmodRecord [
DTD (Please ignore underlines "____" "____"
____ <!DOCTYPE SigmodRecord [ ____
____ <!ELEMENT issue (volume,number,articles) > ____
____ <!ELEMENT volume (#PCDATA)> ____
____ <!ELEMENT number (#PCDATA)> ____
____ <!ELEMENT articles (article)* > **
____ <!ELEMENT article (title,initPage,endPage,authors) > ____
____ <!ELEMENT title (#PCDATA)> ____
____ <!ELEMENT initPage (#PCDATA)> ____
____ <!ELEMENT endPage (#PCDATA)> ____
____ <!ELEMENT authors (author)* > ____
____ <!ELEMENT author (#PCDATA)> ____
____ <!ATTLIST author position CDATA #IMPLIED> ____
____ (contains text/#PCDATA) ____
7 freelancers are bidding on average $349 for this job
Dear Employer, I have gone through the functional requirement of the given project I can do this. Lets go ahead.
I have 3 years of work experience on java/j2ee along with xml api's, I can Implement your project better than anyone else.
Senior Software Architects with huge experience in XML technologies. Please check private message.