List of articles   choose language


Determination in xml



Gold

Now request language SQL4 is offered for joining of client's browser and server's database directly by HTTP-protocol, part of SQL4 has name TML (Tree Manipulation Language). TML considers several tables, united by foreign keys, as tree. TML-request extracts this tree as xml by http-protocol. And if client sends xml-tree by http-protocol to database, then SQL4 transforms xml-tags into records of tables, writes them into database and links new records by foreign key (then it call procedure with name "main").

Success of writing of xml-trees into database depends of, is scheme of database corresponds to entering tree (some xml-sub-trees are ignored at discrepancy). It's possible to provide congruence by determination in xml-tree in disputable cases. In syntax it consists of, that name of xml-tag consists of two words through sign slash (closing xml-tag contains only first word, located before sign slash). Thus it's necessary to allow determination in values HTML-attributes

<input name="aaa/bbb" value="zzz">
<aaa/bbb text="zzz">
and in names of tags, enclosed into tag hidden
<hidden>
  <aaa/bbb attribute=value>
    <ccc/ddd attribute2=value2>
  </aaa>
</hidden>
<aaa/bbb attribute=value>
  <ccc/ddd attribute2=value2>
</aaa>


html60author



List of articles   choose language


Используются технологии uCoz