Problem Note 45107: Relative paths are needed when creating a table of contents with the ExcelXP tagset on platforms other than Microsoft Windows
Creating a table of contents using the INDEX= or CONTENTS= ExcelXP tagset option might generate invalid links to the worksheets in the current workbook. This can occur if the XML file that is generated was created on an operating system other than Microsoft Windows, and an absolute path is specified as the URL. This issue can also occur if the file is moved or e-mailed, and the absolute path specified for the URL is no longer valid.
To create a relative link to the actual worksheet, use the combination of the PATH= and the FILE= ODS options with the URL= suboption. The URL=NONE suboption should be applied to both the PATH= and the FILE= ODS options. However, because of an existing problem, the URL=" " suboption with two embedded spaces must be applied to the FILE= ODS option to generate a relative path to the actual worksheet.
The sample code below illustrates this.
ods tagsets.excelxp path="c:\"(url=none) file="temp.xml"(url=" ") options(index="yes");
proc print data=sashelp.class;
run;
ods tagsets.excelxp close;
Operating System and Release Information
SAS System | Base SAS | z/OS | 9.2 TS2M3 | |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.2 TS2M3 | |
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.2 TS2M3 | |
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.2 TS2M3 | |
Microsoft Windows XP 64-bit Edition | 9.2 TS2M3 | |
Microsoft® Windows® for x64 | 9.2 TS2M3 | |
Microsoft Windows Server 2003 Datacenter Edition | 9.2 TS2M3 | |
Microsoft Windows Server 2003 Enterprise Edition | 9.2 TS2M3 | |
Microsoft Windows Server 2003 Standard Edition | 9.2 TS2M3 | |
Microsoft Windows Server 2003 for x64 | 9.2 TS2M3 | |
Microsoft Windows Server 2008 | 9.2 TS2M3 | |
Microsoft Windows Server 2008 for x64 | 9.2 TS2M3 | |
Microsoft Windows XP Professional | 9.2 TS2M3 | |
Windows 7 Enterprise 32 bit | 9.2 TS2M3 | |
Windows 7 Enterprise x64 | 9.2 TS2M3 | |
Windows 7 Home Premium 32 bit | 9.2 TS2M3 | |
Windows 7 Home Premium x64 | 9.2 TS2M3 | |
Windows 7 Professional 32 bit | 9.2 TS2M3 | |
Windows 7 Professional x64 | 9.2 TS2M3 | |
Windows 7 Ultimate 32 bit | 9.2 TS2M3 | |
Windows 7 Ultimate x64 | 9.2 TS2M3 | |
Windows Vista | 9.2 TS2M3 | |
Windows Vista for x64 | 9.2 TS2M3 | |
64-bit Enabled AIX | 9.2 TS2M3 | |
64-bit Enabled HP-UX | 9.2 TS2M3 | |
64-bit Enabled Solaris | 9.2 TS2M3 | |
HP-UX IPF | 9.2 TS2M3 | |
Linux | 9.2 TS2M3 | |
Linux for x64 | 9.2 TS2M3 | |
OpenVMS on HP Integrity | 9.2 TS2M3 | |
Solaris for x64 | 9.2 TS2M3 | |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Relative paths are needed when creating a table of contents with the ExcelXP tagset on platforms other than Microsoft Windows.
Type: | Problem Note |
Priority: | medium |
Date Modified: | 2012-07-06 11:33:06 |
Date Created: | 2011-12-10 23:01:50 |