forked from plutext/docx4j
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsections.xsd
56 lines (42 loc) · 1.79 KB
/
sections.xsd
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<?xml version="1.0" encoding="utf-8"?>
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:jaxb="http://java.sun.com/xml/ns/jaxb"
xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc" jaxb:version="2.1"
jaxb:extensionBindingPrefixes="xjc">
<!--
JAXB INSTRUCTIONS
To generate java classes, you need xjc, from the JAXB 2.1 RI.
(I used JAXB 2.1.10 included in JDK 1.6.0_15)
To generate the classes (from the same directory)
xjc sections.xsd -d ~/workspace/docx4j/src/main/java -no-header -target 2.0 -extension
It would be nice to be able to add the fluent api
sh ~/jaxb-ri-20071219/bin/xjc.sh -classpath ~/workspace/docx4j/m2/org/jvnet/jaxb2_commons/ppp/parent-pointer-plugin/1.0/parent-pointer-plugin-1.0.jar:~/workspace/docx4j/lib/jaxb-fluent-api-2.1.8.jar -Xfluent-api -Xparent-pointer wml.xsd -d tmp/ -no-header -target 2.0
jaxb-ri-20071219 is 2.1.6; jaxb-ri-20070917 works equally well.
-->
<xs:annotation>
<xs:appinfo>
<xs:appinfo>
<jaxb:globalBindings>
</jaxb:globalBindings>
</xs:appinfo>
<jaxb:schemaBindings>
<jaxb:package name="org.docx4j.model.structure.jaxb"/>
</jaxb:schemaBindings>
</xs:appinfo>
</xs:annotation>
<xs:element name="sections">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" name="section">
<xs:complexType>
<xs:sequence>
<xs:any processContents="skip" minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
<xs:attribute name="name" type="xs:string" use="required" />
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>