Find Jobs
Hire Freelancers

Create XML Stylesheet table and XML tree

$30-250 USD

Closed
Posted almost 11 years ago

$30-250 USD

Paid on delivery
1) Open up the [login to view URL] file in your text editor. Closely examine the DTD. Review the lecture where we discussed DTDs. TASK 2: Use the DTD to draw out the XML tree structure for the file. Create the XML tree structure using MS Word or Google Docs, etc. Don’t draw it out by hand. 2) Use XML tree structure to make correct XPath statements in XSLT stylesheets. TASK 3: 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 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" with no further thought. This statement would imply that article is a child element of SigmodRecord. Instead, use a correct XPath from your template match (SigmodRecord) to the node you want to select in your for-each statement (article). Determine that XPath and place its value in the select field of the for-each statement. -The value-of select statements for title, initPage and endPage should be easy. -We will need to think a little harder about the value-of select statements for volume and number. Why? Is there any direct path between these elements and the element “article”? We typically use XPath to navigate DOWN an XML tree, but it is also possible to use it to navigate back UP. The XPath expression .. will move you one level back up the tree. The XPath expression ../.. will move you two levels back up the tree. What node is two levels back up the tree from “article”? How would you complete this XPath expression to get it to point to element “volume”? Element “number”? Place the correct XPath expressions in the select fields of the value-of select statements for volume and number. -Now let’s turn to column Page Length. There is no data for that, but we do have the data necessary to calculate it. What should the formula for page length be? Basic math can be done in XPath as follows: However you formulate things, make sure that an article that starts and finishes on page 5 gets counted as being 1 page long rather than 0 pages. Note: obviously you will need to 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. 3 -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.
Project ID: 4446984

About the project

9 proposals
Remote project
Active 11 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
9 freelancers are bidding on average $139 USD for this job
User Avatar
I can help in your project, please check PMB and our ratings/reviews to get idea of our experience. Please let me know if you have any queries.
$231 USD in 5 days
4.8 (19 reviews)
5.6
5.6
User Avatar
Please, look at PMB
$262 USD in 9 days
4.9 (17 reviews)
4.5
4.5
User Avatar
Top notch XML/XSLT professional. Full time XML freelancer.
$35 USD in 0 day
5.0 (15 reviews)
4.4
4.4
User Avatar
Hello, I have over 8 years experience in advanced web programming. I can do this job. Please feel free to ask if you have any questions. Thank You
$157 USD in 15 days
5.0 (2 reviews)
2.4
2.4
User Avatar
Hello. I have your job already done. I can send examples if you wish.
$35 USD in 1 day
5.0 (1 review)
0.6
0.6
User Avatar
PHP expert.. check pm pls!
$147 USD in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
please check your pmb
$206 USD in 2 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Hey seems easy to me. I can Do this. Please see the PMB. Thanks.
$125 USD in 13 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Hi, I have good hand in xml & xslt. Please assign me as soon as possible.
$118 USD in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
I have worked extensively on xslt with in my projects . So I can do the job for you.
$154 USD in 3 days
0.0 (0 reviews)
0.0
0.0
User Avatar
I will be able to do this job. Please check the message I sent
$82 USD in 3 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Brandon, United States
5.0
1
Member since Apr 20, 2013

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.