Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Get a carriage return in empty elements [Thread Next] Re: Get a carriage return in empty elementsTo: NULL Date: 11/2/2004 9:32:00 AM Figured it out. You have to inherit the xmltextwriter and override
WriteFullEndElement with this:
Public Overrides Sub WriteFullEndElement()
MyBase.WriteEndElement()
End Sub
"Kevin Earley" <kearley@s...> wrote in message
news:ORzU9ePvEHA.1308@T......
> Is there any way around this short of telling the xmlwriter not to indent?
> I have a process that send an xml doc to a cust who changes some data and
> returns it. It gets rejected on the resubmit because of the problem
below.
>
> I have an xslt trans. I am transforming it with the .net transformation
> object when it hits an empty element it reurns something like this.
> <email>
> </email>
> instead of
> <email></email> or <email/>
>
> the .net objects seems to ignore <xsl:strip-space elements="*" />.
>
>
>
>
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
