forked from maketheboat/export-user-data
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathxml-template.php
More file actions
38 lines (32 loc) · 811 Bytes
/
xml-template.php
File metadata and controls
38 lines (32 loc) · 811 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<?php
/**
* XML template for excel file format
*
* @since 0.7.7
**/
$xml_doc_begin =
'<?xml version="1.0"?>
<?mso-application progid="Excel.Sheet"?>
<Workbook
xmlns="urn:schemas-microsoft-com:office:spreadsheet"
xmlns:o="urn:schemas-microsoft-com:office:office"
xmlns:x="urn:schemas-microsoft-com:office:excel"
xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet"
xmlns:html="http://www.w3.org/TR/REC-html40">
<Worksheet ss:Name="Exported Users">
<Table>';
$xml_pre = '
<Row>
<Cell>
<Data ss:Type="String">';
$xml_seperator = '</Data>
</Cell>
<Cell>
<Data ss:Type="String">';
$xml_breaker = '</Data>
</Cell>
</Row>';
$xml_doc_end = '
</Table>
</Worksheet>
</Workbook>';