LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   suggestions for using xslt to view base64-encoded floating point data in an xml file? (https://www.linuxquestions.org/questions/programming-9/suggestions-for-using-xslt-to-view-base64-encoded-floating-point-data-in-an-xml-file-401781/)

zero79 01-10-2006 06:52 PM

suggestions for using xslt to view base64-encoded floating point data in an xml file?
 
Hello all,

I am creating an xml format with the general form:
<data>
ab38Acea77QNn3Hs
</data>
where "ab38Acea77QNn3Hs" is a representative subset of a long list of characters that were converted from machine-native floating-point to bigendian base64. I would like the user to be able to view the values in human-readable form (exponential notation) via a web browser. An example browser page would look like:
floats
+5.324E+010
+2.022E+000
-1.389E+200
Note that there is no relation between the above string and floating point values as they are merely examples. Does anyone have any suggestions on how to do this sort of translation with XSLT? References, links, or code samples would be of immense use.

Thank you very much for your thoughts.

Mike


All times are GMT -5. The time now is 05:14 AM.