Amit wrote:
>> You should get
>> <MyNode attr1="attr1 value" attr2="Some Value"></MyNode>
>> but certainly not white space between the start tag and end tag.
>> As for
>> <MyNode attr1="attr1 value" attr2="Some Value" />
>> or
>> <MyNode attr1="attr1 value" attr2="Some Value"/>
>> that is the same as
>> <MyNode attr1="attr1 value" attr2="Some Value"></MyNode>
>> so it should not matter.
>>
>> Which XSLT processor are you using that inserts the white space?
>>
>> --
>>
>> Martin Honnen
>> http://JavaScript.FAQTs.com/
>
> Hello Martin,
>
> My Problem is not on white spaces, the problem is ending tag.
>
> I know <MyNode attr1="attr1 value" attr2="Some Value"></MyNode> and
> <MyNode attr1="attr1 value" attr2="Some Value"/> is equivalent.
>
> but the third party application which is going to import the xml,
> doesn't understand this.
Then the third-party application is broken and must be replaced.
If you continue to use broken software, you will eventually get broken
data. Replacing the software with something that works properly is much
cheaper than trying to mend the broken data (and the broken decisions
that were made using it).
> For successful import, there should not be any ending xml tag.
As a temporary solution, pass the output through a stream filter to
delete the unwanted end-tags and change the preceding > with />
///Peter