quick start guide

"Philipp Chudinov" <[email protected]>
Newsgroups gmane.editors.bitflux.general
Message-ID <001501c2b9d5$8430d2c0$0100a8c0@moedusa>
Hi! could anyone provide some_even_more basic information on how to use BXE?
Let's say my xml is something simple like

<main>
 <greeting type="stupid">blah</greeting>
</main>

my xsd therefore is something like

<xs:element name="main">
 <xs:complexType>
  <xs:sequence>
   <xs:element name="greeting" type="greetingType" maxOccurs="unbounded"/>
  </xs:sequence>
 </xs:complexType>
</xs:element>

<xs:complexType name="greetingType">
 <xs:simpleContent>
  <xs:extension base="xs:string">
   <xs:attribute name="type" use="required">
    <xs:simpleType>
     <xs:restriction base="xs:NMTOKEN">
      <xs:enumeration value="notsostupid"/>
      <xs:enumeration value="notstupid"/>
      <xs:enumeration value="sosostupid"/>
      <xs:enumeration value="stupid"/>
      <xs:enumeration value="unbelivableclever"/>
     </xs:restriction>
    </xs:simpleType>
   </xs:attribute>
  </xs:extension>
 </xs:simpleContent>
</xs:complexType>

so how do I add a button to the toolbar, which will allow me to switch
between values of the greeting element with standard select? what steps
should I make, what files should I change(write) etc (except changing
config.xml)? Sources are not so obvious as they could be, because Iam not in
the context...

Philipp

-- 
bx-editor-users mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.