W3C home > Mailing lists > Public > public-xml-processing-model-wg@w3.org > April 2007

Re: XSLT non-XML output

From: Norman Walsh <ndw@nwalsh.com>
Date: Tue, 24 Apr 2007 12:22:28 -0400
To: public-xml-processing-model-wg@w3.org
Message-ID: <87irblspx7.fsf@nwalsh.com>
/ Jeni Tennison <jeni@jenitennison.com> was heard to say:
| I think we *should* support text output as well, in exactly the same
| way, although this would require us to support documents that aren't
| well-formed XML documents (since they don't have a document element)
| flowing through the pipeline. If we don't want to go there, a minor
| change to the stylesheets producing text (adding a document element)
| will make them amenable to this processing. I don't view this as
| particularly burdensome for users.

We could add an option to our xslt components that specifies the
content should be wrapped with c:document. That would have the effect
of making text output valid XML.

I don't know if the wrapper should be conditional on the output method
being text or not. I'm inclined to say not.

                                        Be seeing you,

Norman Walsh <ndw@nwalsh.com> | Whatever you may be sure of, be sure of
http://nwalsh.com/            | this: that you are dreadfully like
                              | other people.--James Russell Lowell

Received on Tuesday, 24 April 2007 16:22:32 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:32:42 UTC