On 28/09/2011, Michael Kay <mike@...> wrote:
> On 28/09/2011 15:00, ruud grosmann wrote:
>> Is it true this is the only way? Or did I mis some parameter?
> I don't think you missed anything: I don't think there's any way to
> request validation of output documents other than from the stylesheet
> itself. Perhaps there should be.
thanks for confirming this.
>> Anyway, if I nest the root element in a xsl:document element, all of a
>> sudden all the attributes with default values get expanded. Can this
>> be avoided?
> Have you tried -expand:off on the command line?
This is the first thing I will do tomorrow morning.
Is there a java equivalent to this? The transformation is started by
java code; only for test purposes the command line can get used. So
this would not be a final solution.
If there is no java possibility, is there a xlst way of removing those
elements without loosing the indentation of th schema aware run and
without re-introducing the indentation that the schema aware run
thanks in advance, Ruud