Groups | Search | Server Info | Login | Register


Groups > comp.sources.d > #77

Re: Looking for XML linearization information

From Joe Kesselman <keshlam.cat.nospam@verizon.net>
Newsgroups comp.programming, comp.text.xml, comp.sources.d
Subject Re: Looking for XML linearization information
Date 2011-02-03 16:16 -0500
Organization A noiseless patient Spider
Message-ID <iif5ua$ip7$1@news.eternal-september.org> (permalink)
References <0ba9f95a-83d8-4a9e-9d95-c87046a71f20@y26g2000yqd.googlegroups.com>

Cross-posted to 3 groups.

Show all headers | View raw


> Are there are tools/W3C standards/design patterns etc. for linearizing
> XML content?  Basically I want to send information, which is natively
> in XML, to a resource constrained device that does not have XML
> awareness.  In other words, the resource constrained device does not
> do any DOM or SAX processing of XML.

This sounds like a standard data-extraction problem -- read the 
document, parse out the portions which will be meaningful to the device, 
format them in a way that the device's software will understand, and 
send them along.

If the format you need to generate is textual in nature, 
XPath/XSLT/XQuery may be useful in doing the data extraction and 
formatting. If the format you need is binary, you're going to be writing 
your own code; the X* tools may be useful at the extraction end but 
formatting's going to be up to you and/or whatever libraries are 
available for talking to that specific device.

Without knowing exactly what the device is prepared to handle, I don't 
think I can offer much more specific advice than that.

-- 
Joe Kesselman, 
http://www.love-song-productions.com/people/keshlam/index.html

{} ASCII Ribbon Campaign | "may'ron DaroQbe'chugh vaj bIrIQbej" --
/\ Stamp out HTML mail!  | "Put down the squeezebox & nobody gets hurt."

Back to comp.sources.d | Previous | Next | Find similar


Thread

Re: Looking for XML linearization information Joe Kesselman <keshlam.cat.nospam@verizon.net> - 2011-02-03 16:16 -0500

csiph-web