Subject: Re: How to generate attributes on separate lines
From: Colin Paul Adams <colin@xxxxxxxxxxxxxxxxxx>
Date: 13 May 2005 17:34:41 +0100
|
>>>>> "Michael" == Michael Giroux <Michael.Giroux@xxxxxxxx> writes:
Michael> The root node for the xml generated by my stylesheet
Michael> contains several xmlns:??? entries. The root node is
Michael> generated as a single line which makes it difficult to
Michael> view.
Michael> Is there a processing instruction that tells the
Michael> processor to emit these on separate lines as is normally
Michael> the case when one edits manually?
There is no standard way of doing this.
If your XSLT processor provides you with a means of coding new methods
for xsl:output, (effectively, a customized serializer), then you could
create one that did this (possibly optionally, controlled by a custom attribute).
--
Colin Adams
Preston Lancashire
|