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

John Ulric <[email protected]> Thu, 29 Apr 2021 21:24:19 +0200
Newsgroups gmane.text.xml.saxon.help
Message-ID <CANS5Ricjic21p0z47L93fS9wM1=1tO1tQVxALWh4Q+j8z-f4Tw@mail.gmail.com>
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.

Thanks
John

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