Hi
I am trying to insert an element using an insert-button().
Here's the excerpt from the schema:
<xs:element name="book">
<xs:complexType>
<xs:all>
<xs:element name="section" minOccurs="0">
<xs:complexType>
<xs:all>
<xs:element name="chapter"/>
<xs:element name="pagefrom" type="xs:string" minOccurs="0"/>
<xs:element name="pageto" type="xs:string" minOccurs="0"/>
</xs:all>
</xs:complexType>
</xs:element>
<xs:element name="location" minOccurs="0">
<xs:complexType>
<xs:all>
<xs:element name="placeofpublication" type="xs:string" minOccurs="0"/>
<xs:element name="publisher" type="xs:string" minOccurs="0"/>
</xs:all>
</xs:complexType>
</xs:element>
</xs:all>
<xs:attribute name="title"/>
</xs:complexType>
</xs:element>
As I have an xs:all I should be able to insert both section and location in
book, but when the insert button is attached to book using book:after, it
only allows me to insert one but not both.
cheers
Yvonne
--
Yvonne Aburrow
Web Developer, Computing Services
01225 38 6022
Y.Aburrow at bath.ac.uk
http://people.bath.ac.uk/ccsya/