LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 01-10-2006, 06:52 PM   #1
zero79
Member
 
Registered: Nov 2003
Location: Ohio
Distribution: Debian Unstable
Posts: 460

Rep: Reputation: 30
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
XSLT/xml enforcing full tag syntax bigearsbilly Programming 2 11-23-2005 02:38 AM
Floating point exception hemk76 Linux - Software 1 05-06-2005 11:49 PM
sw to import some integer or floating point data and chart them tcma Linux - Software 1 11-04-2004 06:53 PM
Recommended XML / Base64 encoding libraries? overbored Programming 2 10-14-2004 11:21 AM
ePlease help-> XML, XSLT James Clarkes XT software Al Bundy Linux - Software 0 04-21-2003 06:49 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration