Transforming XML To Binary using XSL?

X

Xamalaek

Hello,

Is it possible to transform an XML document to a binary format using
XSL? Can one use XSL-FO to do this?

Regards,
X
 
P

Patrick TJ McPhee

% Is it possible to transform an XML document to a binary format using
% XSL?

Not really. A lot could be done using numeric entity references and
extension functions, but the goal of xslt is to produce result trees
consisting of text, elements, and other things that can be found in
typical XML files.

% Can one use XSL-FO to do this?

It really depends on the binary format you're talking about. If it's,
say, the binary format expected as input to a laserjet, you could use
xsl:fo, with appropriate formatting software, to do the job. If you
want to represent the data from an XML file in a particular binary
format (say, a word-processing format), then xsl:fo is not going to
help in any way.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,825
Latest member
VernonQuy6

Latest Threads

Top