(DTD) Below ** DO NOT ADD YOUR PERSONAL SIGNATURE TO FILE THANKS
1) Open up the [login to view URL] 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 [login to view URL] 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 [login to view URL] 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 [login to view URL] and put a reference to it in [login to view URL] after the DTD code.
-Open up [login to view URL] (not [login to view URL]!) in Firefox and you should see your new, working table. If not, fix the errors in your .xsl file.
**DTD**
<!DOCTYPE SigmodRecord [
(contains text/#PCDATA)