Re: How to get xsl:output/@method after transformation?
Willem Van Lishout <[email protected]> Thu, 29 Apr 2021 21:46:13 +0200
| Newsgroups | gmane.text.xml.saxon.help |
|---|---|
| Message-ID | <[email protected]> |
I had the same problem once. Perhaps this StackOverflow question will help you out: https://stackoverflow.com/q/53801890/2704291 En 29 abr. 2021 21:43, en 21:43, John Ulric <[email protected]> escribió: >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 _______________________________________________ saxon-help mailing list archived at http://saxon.markmail.org/ [email protected] https://lists.sourceforge.net/lists/listinfo/saxon-help