Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

javascript-dom help needed

Status
Not open for further replies.

tranquillo

Technical User
Jan 6, 2003
22
SE
Hi...

this is what I've got:
an xml file that's altered with javascript-dom commands threw a html form.
I've also got a xsl file to go with the xml file to present it and to show some calculations of the content.
example:
-xml-
<product>
<price>10</price>
</product>
<product>
<price>10</price>
</product>
-xsl(result)-
the price of product1: 10
the price of product2: 10
total: 20


this is waht I want:
to be able to show the xml file thew the xsl before the altered xml file is saved on disk.
so, while the altered xml file is still in the computers memory, I want to print out the result threw the xsl.

or if there's a way to do the same thing, with xpath or dom or whatever, that I can do in xsl -> calculate the sums etc. and present the xml content with html tags.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top