python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Validating an xml with schematron null pointer exception
I have build an app that validates and xml with a schematron.
Here is the code:
import net.sf.saxon.s9api.*;
import javax.xml.transform.stream.StreamSource;
import java.io.File;
import java.util.Arra...
RamonS
Votes: 0
Answers: 2
Saxon is throwing "Cannot use xsl:result-document to write to a destination already used for the principal output:"
This is my first question here so please don't beat me up to hard :)
I am using Apache Camel with Saxon XSLT transformer. And my goal is to output the results of an XSLT transformation into a file. I ...
mowglim
Votes: 0
Answers: 1
NotSerializableException while transforming XML using XSLT in Saxon 10.6 HE
I am trying to transform XML using XSLT in Saxon 10.6 HE. Getting error as below.
Error: java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: net.sf.saxon.om.StructuredQNa...
Nijith
Votes: 0
Answers: 1
How to get the transformed XML from Saxon 10.6 as a string
I am using below code for transforming the XML based on XSLT using Saxon 10.6. I could get the transformed XML in file. But I need the transformed XML assigned to a string. Kindly help to achieve this...
Nijith
Votes: 0
Answers: 1