tranquillo
Technical User
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.
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.