![]() |
![]() | ![]() | ![]() | Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Re: Xslt removing spaces? >Thread Next - Re: Xslt removing spaces? Re: Xslt removing spaces?To: NULL Date: 1/25/2008 7:06:00 AM Thanks Martin, We're using .NET 2.0 to handle the processing. We'll try tour suggestions. Thanks again. -- Joe "Martin Honnen" wrote: > Joe wrote: > > > We are using an xslt to format xml and transform it into html. Some of the > > nodes in the xml are filled with spaces (the xml is from a mainframe and is > > providing us with data for a web page report). The xml is formatted as such: > > > > <RespinseXml> > > <Records> > > <Record>blah blah blah</Record> > > <Record>blah blah blah</Record> > > <Record> </Record> > > <Record> </Record> > > <Record>blah blah blah</Record> > > <Record>blah blah blah</Record> > > </Records> > > <?RespinseXml> > > Which XSLT processor do you use and how do you load the XML? > Does it work as intended when you put > <RespinseXml xml:space="preserve"> > on your root element? > Or if you use MSXML make sure you set > xmlDoc.preserveWhiteSpace = true > before you load the XML input document. > With the .NET framework it helps to use > new XPathDocument("file.xml", XmlSpace.Preserve) > > > > -- > > Martin Honnen --- MVP XML > http://JavaScript.FAQTs.com/ > | ![]() | ![]() | ![]() |
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | |||||
|
