Feature #2313

RCP: X.X, add a new constructor to ApplyXsl2: ApplyXsl2(Source xsl)

Ajouté par Serge Heiden il y a environ un an. Mis à jour il y a 8 mois.

Statut:New Début:22/12/2017
Priorité:Normal Echéance:
Assigné à:- % réalisé:


Catégorie:Import Temps passé: -
Version cible:TXM 0.8.0


In org.txm.importer.ApplyXsl2 class, allow applying an XSL from memory instead of from file path.


From Saxon Javadoc, the Processor object newXsltCompiler factory method calls an internal
compile method, the source of which can be :
  • DOMSource, allowing the stylesheet to be supplied as a DOM tree
  • Document wrappers for XOM, JDOM, or DOM4J trees
  • A Saxon NodeInfo, representing the root of a tree in any of the native tree formats supported by Saxon
  • An XdmNode representing the document node of the stylesheet module
  • StreamSource, allowing the stylesheet to be supplied as a URI, as a File, as an InputStream, or as a Reader
  • SAXSource, allowing the stylesheet to be supplied as a stream of SAX events from a SAX2-compliant XML parser (or any other source of SAX events)


#1 Mis à jour par Sebastien Jacquot il y a 8 mois

  • Version cible changé de TXM 0.8.0a (split/restructuration) à TXM 0.8.0

Formats disponibles : Atom PDF