I need you to write a small javascript file, that I can load into my browser, which will display formatted text from an XML file.
I am supplying you with:
- sample xml files
- an XSLT script that does exactly what I want, so you see the desired results in your browser.
- A detailed spec, below
Note that you do NOT need to understand the XSLT. If you look at the generated HTML, you will see exactly what I want.
Unzip the attached file, and load either [login to view URL] or [login to view URL] into your browser.
You will need to write a Javascript program that gets the same results, without using any XSLT.
A detailed spec of what I need is the following:
- All the project files will live on the same host. It should work both from the local file system or from a simple file-serving web-host. (You do not need to handle any cross-host issues or similar problems).
- The main page will be index.html. The top of the page will show a list of the xml files. When the user selects one, the bottom of the page will show the results of processing that file.
The file processing results should look the same as the current results generated by .xslt. Look at the .xml files. In particular:
- <line> defines a line of words
- <w> defines a word.
- The l1 attribute to word causes rotated text and a graphic to appear at the start of the line.
- The l2 attribute to word causes a graphic to appear at the end of the line.
- All lines are indented to line up with the lines that have the l1 attribute.
- The e1 attribute to w draws a left border; the e2 attribute to w draws a right border
- The t attribute to w associates a tag with the word
- The tags are also defined in the .xml file
- The tag determines the background color to be displayed for each word, the padding, and a label to place under it
- The fonts should all be exactly as rendered by the xslt
- In particular, any word that contains Arabic letters (per a list you can copy from the xslt) should use the lateef font
There should be no XSLT in your delivered work. All the functionality should be in Javascript.
The result should display properly in Chrome, Firefox, and Internet Explorer 11.
You will transfer ownership of delivered code to me.
Dear Sir ,
I am writing in response to to your advertisement.
As a proof of concept I sent you link to working javascript code:
[login to view URL]
Just click on xml file and watch the output.
There is a one javascript function independent of document body style and other files.
I hope you enjoy it:)
I can finish this today after yours suggestions or recommendations.
Should you have any questions, contact me on email: mk2()[login to view URL] or just by freelancer website. I would appreciate your reply:)
Yours faithfully,
Marcin Kubera
gentozl
mk2()[login to view URL]
$111 USD en 0 jour
0,0 (0 commentaires)
0,0
0,0
8 freelances proposent en moyenne $178 USD pour ce travail
Hello,
I'm an experienced web application developer.
Please check my profile, see how other project owners said about my service.
I'm very happy to get this project done for you.
Contact me if you are interested.
Thanks,
Rick
Hello.
I have a question regarding the need that it works locally and on web server.
Do you need that javascript reads the xml files from the folder and display that list like in this sentence The top of the page will show a list of the xml files or you will enter urls of the xmls yourself?
I have experience in javascript so I could do this project for you just need to clarify 2-3 things.
Thanks and regards
Koran
Hello! I am a graduate in Computer Science and a jQuery expert, so you should expect a high quality result. The price and delivery time I have mentioned are for a jQuery based solution. If you want this done in pure JavaScript, contact me to come up with another price.
Hi. My name is Hoai. I come from Viet Nam.
I fluent with javascript and had completed many js project.
I able to do your project.
Pls contact me.
Thank you so much!
I have more than 5 plus year experience in web development field.
I read your project very carefully and I can able to do this project with exciting feeling. I already made promo for your project so I am sure i should finish your work very quickly in 1 day.
Thanks