Re: How to get xsl:output/@method after transformation?

John Ulric <[email protected]> Thu, 29 Apr 2021 21:42:35 +0200
Newsgroups gmane.text.xml.saxon.help
Message-ID <CANS5RifX2wfjQMnsu6Lok1cshVKderiY2kSZORnSnc4MQez=fw@mail.gmail.com>
The project is on SaxonHE 9.9.1.4 currently. And it's about the primary
result that was set with net.sf.saxon.s9api.XsltTransformer#setDestination.

Am Do., 29. Apr. 2021 um 21:27 Uhr schrieb Martin Honnen <
[email protected]>:

> On 29.04.2021 21:24, John Ulric wrote:
> > Hello all, when using s9api, after a transformation with
> > net.sf.saxon.s9api.XsltTransformer.transform(), is there a way to get
> > the output method that the stylesheet declared in its xsl:output
> > element? (Or the corresponding content type?)
> >
> > I tried calling .getOutputProperty(Serializer.Property.METHOD) on the
> > net.sf.saxon.s9api.Serializer in use, but this seems to return a value
> > only if it was set programatically, not the method that the stylesheet
> > declares.
>
> Which Saxon version/release exactly? Is that only about the primary
> result or any result document?
>
>
> _______________________________________________
> saxon-help mailing list archived at http://saxon.markmail.org/
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/saxon-help
>

_______________________________________________
saxon-help mailing list archived at http://saxon.markmail.org/
[email protected]
https://lists.sourceforge.net/lists/listinfo/saxon-help