RE: Some Questions (2nd try)

Subject: RE: Some Questions (2nd try)
From: Bovone Stefano <Stefano.Bovone@xxxxxxxx>
Date: Tue, 29 Feb 2000 12:48:11 +0100
Title: RE: Some Questions (2nd try)




    Hi all,
>Hi


    I have some conceptual questions about some issues of XML/XSL-T,
please I'd be very grateful if anyone can answer them.

    1.- What about the output of the XSL Transformation? The ouput could

be an .rtf or .biff file with binary data and not a well-formed
document?
I mean, I want to transform some XML data in a Word document (or
something that MSWord could understand) it's that possible?, or I have
to use formatting objects and some kind of parser?

> You can output an xml document, a html document, a text document. Not a binary document. To produce binary document you have to use a program (and a parser).

    2.- Imagine the ouput of an SQL query with a 'group by' sentence,
and maybe, with total fileds for each group of rows. For each group, I
don't want to repeat the fileds with the same values (the fields that
define the group). Can XSL-T do something like that?:
        a) To control when some values changing and
        b) Do the totals of some fields, the totals for each group of
rows.

> I think it's possible. But in this list htere is people more expert than me.

        Should be <xsl:variable> the solution in order to do something
like that?

    3.- Imagine I have some data, from the DB via JDBC, in some Java
Classes, in my own object model (with this data stored in). And I want
to serialize this data, or a subset of it, in an XML document. Can I use

a SAX parser?, or have I to do it myself. I mean, Can I pass my object
model to the SAX parser?

> No. A Sax parser can read data, not write. I think you can use some implementation of DOm helping you to write xml file.

    Sorry if some are silly or very basic questions, I'm defining my
carreer final project and I want to use the XML-JAVA-SQL technology in
the best way.

    Thanks a lot, any inputs will be wellcome.

    Omar Lopez.


> Bye.


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

Current Thread