We may see this when proofing the Config.xml file located in the source file directory ..\OfficeVersion.WW\Config.xml:
The XML page cannot be displayedNote the dotted line under the last line in the original image: ----------^
Cannot view XML input using XSL style sheet. Please correct the error and click the Refresh button, or try again later.
Whitespace is not allowed at this location. Error processing resource 'file ://mysbsserver/clientapps/office2007ent/...
It is pointing to the space just after the actual cause of the problem.
What we need to remember is the file is coded in XML. Therefore, we need to follow XML coding rules when trying to insert special characters like the '&' ampersand in the above example.
Here is what the raw source code looks like:
You can see that there is an actual '&' ampersand in the COMPANYNAME value.Config.xml Source Code - Wrong
A list of the codes needed for special characters like the '&' ampersand can be found here at Wikipedia: List of XML and HTML character entity references.
This is what the XML code should look like:
Note the "&" Ampersand+amp+Semicolon in the COMPANYNAME value. This code value will cause the XML to be rendered correctly.Config.xml Source Code - Correct
Thus, after double clicking on the config.xml file, in IE you will see:
For a complete explanation of the various settings in the config.xml file go here: TechNet: Config.xml in the 2007 Office system.XML Correctly rendered in IE
Philip Elder
MPECS Inc.
Microsoft Small Business Specialists
*All Mac on SBS posts are posted on our in-house iMac via the Safari Web browser.
No comments:
Post a Comment