We have moved to GitHub Issues
Created by esunxray 26 Sep 2013, 07:06:51 Updated by Sebastiaan Janssen 26 Sep 2013, 08:15:12
Normally, a xml file can be opened with IE, IE can view the the whole tree structure of the xml file. I make a xslt file, then make a template file only include the macro which refer to the xslt file. then I create a node used this template.
I use IE to view this page and saved the page as a xml file, the structure of the file can'b be listed.]>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxml="urn:schemas-microsoft-com:xslt" xmlns:umbraco.library="urn:umbraco.library" exclude-result-prefixes="msxml umbraco.library">
<xsl:output method="xml" media-type="string" standalone="yes" encoding="UTF-8" indent="yes" omit-xml-declaration="no" cdata-section-elements="CRUSER DOCTITLE DOCCONTENT DOCHTMLCON CHNLNAME"/>
This is not a bug in Umbraco, you create the XML file. Changing the encoding from utf-16 to utf-8 seems to help.
Also remove the empty line at the top of the file.
remove the empty line at the top of the file is useless. the file still can't be viewed by IE.
Change utf-16 to utf-8 too. For further discussion use http://our.umbraco.org
Backwards Compatible: True
Due in version: