Changeset 1135 for trunk/docx4j/xsd/sections.xsd
- Timestamp:
- 07/08/10 03:00:13 (23 months ago)
- File:
-
- 1 edited
-
trunk/docx4j/xsd/sections.xsd (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/docx4j/xsd/sections.xsd
r1133 r1135 1 1 <?xml version="1.0" encoding="utf-8"?> 2 <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema"> 2 <xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" 3 xmlns:xs="http://www.w3.org/2001/XMLSchema" 4 xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" 5 xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc" jaxb:version="2.1" 6 jaxb:extensionBindingPrefixes="xjc"> 7 8 <!-- 9 10 JAXB INSTRUCTIONS 11 12 To generate java classes, you need xjc, from the JAXB 2.1 RI. 13 14 (I used JAXB 2.1.10 included in JDK 1.6.0_15) 15 16 To generate the classes (from the same directory) 17 18 xjc sections.xsd -d ~/workspace/docx4j/src/main/java -no-header -target 2.0 -extension 19 20 It would be nice to be able to add the fluent api 21 22 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 23 24 jaxb-ri-20071219 is 2.1.6; jaxb-ri-20070917 works equally well. 25 26 27 --> 28 29 <xs:annotation> 30 <xs:appinfo> 31 <xs:appinfo> 32 <jaxb:globalBindings> 33 </jaxb:globalBindings> 34 </xs:appinfo> 35 <jaxb:schemaBindings> 36 <jaxb:package name="org.docx4j.model.structure.jaxb"/> 37 </jaxb:schemaBindings> 38 </xs:appinfo> 39 </xs:annotation> 40 41 3 42 <xs:element name="sections"> 4 43 <xs:complexType> … … 7 46 <xs:complexType> 8 47 <xs:sequence> 9 <xs:any processContents="skip" minOccurs="0" />48 <xs:any processContents="skip" minOccurs="0" maxOccurs="unbounded" /> 10 49 </xs:sequence> 11 50 <xs:attribute name="name" type="xs:string" use="required" />
Note: See TracChangeset
for help on using the changeset viewer.
