Altova Mailing List Archives>Archive Index >microsoft.public.xml Archive Home >Recent entries >Thread Prev - Hope there is a simple response for this XML query [Thread Next] Re: Hope there is a simple response for this XML queryTo: NULL Date: 10/1/2004 3:30:00 PM That's infoset issue. Both are same, so if there is a solution, that can be version dependant or something. At least may worth try this xslt. <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" > <xsl:output method='xml' indent='yes' omit-xml-declaration='yes'/> <xsl:template match="@* | node()"> <xsl:copy> <xsl:apply-templates select="@* | node()"/> </xsl:copy> </xsl:template> </xsl:stylesheet> "Dwight" <Dwight@d...> wrote in message news:F5FB1052-2B54-4736-8BEA-CCABC0DD8DC4@m...... > Hi > > Does any know if there is a property in the MS DOM model where when set it > will canalcalize all elements. > > For example, > I would want the following empty element - <MyElement/> returned as > <MyElement></MyElement> > > Any pointers would be appreciated. > TIA > Dwight > > > | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
