[www-amaya-dev] <none>

sir,

    I am very much intrested to work in amaya browser. I have got some problems like DTD Validations,DOM,usage of Scripts in browser.

            I am unable to validate xml file using DTD,like using (+) symbol for any element in DTD means,it should appear once in xml file.But it is not happening.Though there is + symbol for particular element in DTD.If i do not mention that element in xml code,It is not rising error.And if i edit any thing in browser(amaya editor),it is removing all DTD which I have used.

            And I want to use DOM in php file with out using javascript or vbscript like


<?php
$doc = domxml_new_doc("1.0");
$root = $doc->create_element("HTML");
$root = $doc->append_child($root);
$head = $doc->create_element("HEAD");
$head = $root->append_child($head);
$title = $doc->create_element("TITLE");
$title = $head->append_child($title);
$text = $doc->create_text_node("This is the title");
$text = $title->append_child($text);
echo "<PRE>";
echo htmlentities($doc->html_dump_mem());
echo "</PRE>";
?>

            but browser could not under stand domxml_new_doc,create_element() and other methods.So which files we should include into php file.So that above program works.

            And my last question is whethere we can use javascript or vbscript in our Amaya browser.

           Please help me regarding these questions.
           

Received on Thursday, 17 June 2004 03:06:19 UTC