This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes XML and Related Technologies and the fly likes Non text data Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Non text data" Watch "Non text data" New topic

Non text data

Solomon Habtom

Joined: Jan 13, 2001
Posts: 5
I am excited about the advancement and use of XML technology
in short period of time.It looks computers are going one step
up from networking.I got some Qs though.
1- How is multimedia represented in XML document.
Is it different from the way HTML refers external files?Like <Image > and other tags ?
2 - Does XML support mathematical calculations ? Is it possible to process numbers from different XML documents?
Thank you for your assistance!
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 12769
Multimedia - the easiest thing is to have a pointer to the media file, just like the <img> tag in HTML. If you want to carry binary data in the file, it has to be encoded with something like base64.
XML just represents data, it does not act on data. XSLT can act on data, including mathematical operations. There is a mathML that can represent complex equations, but it does not calculate anything.
I agree. Here's the link:
subject: Non text data