[XSL-LIST Mailing List Archive Home]
[By Thread]
[By Date]
Thanks Martin and Andrew - these are both helpful suggestions. As it turned out in my case, I was able to output text while declaring it to be xml: I didn't think this would work, but apparently at least Saxon will allow you to output an xml document that contains only text: no elements, which is just what I needed.
-Mike
Martin Honnen wrote:
Re: [xsl] xsl:output and xsl:result-document
Subject: Re: [xsl] xsl:output and xsl:result-document From: Mike Sokolov <sokolov@xxxxxxxxxxxx> Date: Tue, 15 Sep 2009 12:23:53 -0400 |
Thanks Martin and Andrew - these are both helpful suggestions. As it turned out in my case, I was able to output text while declaring it to be xml: I didn't think this would work, but apparently at least Saxon will allow you to output an xml document that contains only text: no elements, which is just what I needed.
-Mike
Martin Honnen wrote:
Mike Sokolov wrote:Is it possible to generate XML documents with xsl:result-document while outputting text as the main stylesheet result? It seems as if xsl:output applies to the whole stylesheet process: both the main result and the xsl:result-document results. Is that right?
No, you can have several xsl:output directives and identify them with a unique name attribute. Then <xsl:result-document format="outputName" ...></xsl:result-document> allows you to reference such an xsl:output directive.
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] xsl:output and xsl:result, Martin Honnen | Thread | Re: [xsl] xsl:output and xsl:result, David Carlisle |
RE: [xsl] How did you learn XSL?, Jim Garrison | Date | Re: [xsl] xsl:output and xsl:result, David Carlisle |
Month |
Keywords