473,387 Members | 1,588 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Re: Hex dump (e.g. S-Record) from XML via XSLT?

Do you think that this is possible with an XSLT at all? Would it be
possible without float or endianess support?
XSLT is a turing-complete programming language, so it's certainly
possible. People have done obscene things like writing
eight-queens-problem solvers in XSLT, or rendering a series of chess
moves as board grids, just to prove that it's possible.

Whether it's *reasonable* is a separate question. XSLT is not the
langauge I would select for this task.
Jun 27 '08 #1
4 2212
On 21 Apr., 21:41, "Joseph J. Kesselman" <keshlam-nos...@comcast.net>
wrote:
Whether it's *reasonable* is a separate question. XSLT is not the
langauge I would select for this task.
Can someone recommend a tool* (other than XSLT) suitable for this
task?

Hopefully, interpreting a binary file and displaying the result in XML
-- as well as the other way round (like in my situation) -- is not too
uncommon...

Kind regards
Ingolf

* Any tools (commercial, free ware, ...) are welcome.
Jun 27 '08 #2
Ingolf Steinbach wrote:
On 21 Apr., 21:41, "Joseph J. Kesselman" <keshlam-nos...@comcast.net>
wrote:
>Whether it's *reasonable* is a separate question. XSLT is not the
langauge I would select for this task.

Can someone recommend a tool* (other than XSLT) suitable for this
task?
Any decent programming language. C is the obvious choice.
Hopefully, interpreting a binary file and displaying the result in XML
-- as well as the other way round (like in my situation) -- is not too
uncommon...
No indeed, but I would imagine your chances of finding a prewritten
system for doing your precise task are virtually nil -- unless it
happens to be a common format of data in your particular industry, in
which case your industry's own web sites and forums are a more likely
place to find it than here.

///Peter
Jun 27 '08 #3
On 21 Apr., 23:20, Peter Flynn <peter.n...@m.silmaril.iewrote:
No indeed, but I would imagine your chances of finding a prewritten
system for doing your precise task are virtually nil -- unless it
happens to be a common format of data in your particular industry,
[...]

The idea was to have a tool which allows
- describing the format of a binary file and
- specification of the contents in (human readable) text based form
(both preferably in XML) and doing the conversion from text based
contents to binary.

I would expect this to be quite a general task not limited to a small
and specialized area of applications.

Kind regards
Ingolf
Jun 27 '08 #4
Websearch on "data binding", which is the general term for mapping
standard representations such as XML over arbitrary back-end data such
as your binary dump.

Various tools have been proposed. It's been a while since I've looked at
this, so I'm not sure where the current state of the art stands.
Jun 27 '08 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Colin Fox | last post by:
I've got a bit of a problem, and I'm stumped. I'm working on a system to create web pages based on XML files. I'd like to be able to use a variety of techniques to make the coding faster & more...
1
by: Justin Woodcock | last post by:
Hi, Is it possible to call an asp file that generates xslt using Objectname.load ? I have tried this script : <% Dim objXML, objXSL
0
by: Mike | last post by:
I'm generating an XSLT document programatically in VB.Net. I'm then trying to apply that XSLT against a cXML document to generate my own internally developed XML document. I'm using RichTextBox...
14
by: David Blickstein | last post by:
I have some XML documents that I want to open in a web browser and be automatically translated to HTML via XSLT. I'm using an xml-stylesheet processing command in a file called "girml.xml". ...
3
by: danmc91 | last post by:
Hi, I'm just getting going with xml and xslt. I'm trying to write what are essentially man pages and I need 3 output formats. 1) nroff -man format for real man pages 2) html for an online...
2
by: Pete G. | last post by:
I'm trying to do a transform to a simple data set. When Exported the Dataset XML looks like this: <RFAData xmlns="http://tempuri.org/RFAData.xsd"> <RFA_Project> <ProjectID>11729</ProjectID>...
2
by: Edward Lee | last post by:
Hi, I have a string of XML in VB dot net. What I want to do is simply dump this string programatically into an IE browser so I can view it as its raw data form... Is there any way to do this...
0
by: R | last post by:
Hi All, I've run into very disturbing problem, I must use html tags inside one of my XML node so I wrote: $cdataHelp = $DomDocument->createCDATASection($value); when I dump it as XML
2
by: darrel | last post by:
I don't do a lot with XML, so I always get a bit lost navigating the XML classes. In the past, I've used this: xslt.Transform(doc, xslArg, Response.Output, Nothing) Which takes my xml file...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.