hey,
I am a newbie in script writing and i m just starting learning XML and AJAX and also JS.I started writing some scripts actually the basic ones "Hello world" and had some issue:
1. by trying the debugger the script of my editor(Eclispe and oxygen) cuz i used eclipse for my java implementation
2.by trying to transform the Xml document to html reading documents
I read both editor's tutorial concerning xml use.
Can anyone help me here plz?
Here is the script:
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs=" elementFormDefault="qualified">
<xs:element name="Module">
<xs:complexType>
<xs:sequence>
<xs:element ref="ModulePrefs"/>
<xs:element ref="Content"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ModulePrefs">
<xs:complexType>
<xs:attribute name="author" use="required"/>
<xs:attribute name="author_email" use="required"/>
<xs:attribute name="description" use="required"/>
<xs:attribute name="height" use="required" type="xs:integer"/>
<xs:attribute name="title" use="required"/>
</xs:complexType>
</xs:element>
<xs:element name="Content">
<xs:complexType mixed="true">
<xs:attribute name="type" use="required" type="xs:NCName"/>
</xs:complexType>
</xs:element>
</xs:schema>
Thanks in advance
I am a newbie in script writing and i m just starting learning XML and AJAX and also JS.I started writing some scripts actually the basic ones "Hello world" and had some issue:
1. by trying the debugger the script of my editor(Eclispe and oxygen) cuz i used eclipse for my java implementation
2.by trying to transform the Xml document to html reading documents
I read both editor's tutorial concerning xml use.
Can anyone help me here plz?
Here is the script:
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs=" elementFormDefault="qualified">
<xs:element name="Module">
<xs:complexType>
<xs:sequence>
<xs:element ref="ModulePrefs"/>
<xs:element ref="Content"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="ModulePrefs">
<xs:complexType>
<xs:attribute name="author" use="required"/>
<xs:attribute name="author_email" use="required"/>
<xs:attribute name="description" use="required"/>
<xs:attribute name="height" use="required" type="xs:integer"/>
<xs:attribute name="title" use="required"/>
</xs:complexType>
</xs:element>
<xs:element name="Content">
<xs:complexType mixed="true">
<xs:attribute name="type" use="required" type="xs:NCName"/>
</xs:complexType>
</xs:element>
</xs:schema>
Thanks in advance