Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: Get a carriage return in empty elements

From: "Kevin Earley" <kearley@-----.--->
To: 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="*" />.
>
>
>
>




transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent