- From: Irene Vatton <irene.vatton@inrialpes.fr>
- Date: Fri, 18 Jun 2004 15:47:39 +0200
- To: "Sunandan" <sunandan@frontlinesoft.com>
- Cc: www-amaya-dev@w3.org
On Thu, 17 Jun 2004 02:41:27 -0400 (EDT) "Sunandan" <sunandan@frontlinesoft.com> wrote: > 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. Amaya is an authoring tool with some browsing functions. It doesn't support DOM and Script. > 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. > > Irene. ----- Irène Vatton INRIA Rhône-Alpes INRIA ZIRST e-mail: Irene.Vatton@inria.fr 655 avenue de l'Europe Tel.: +33 4 76 61 53 61 Montbonnot Fax: +33 4 76 61 52 07 38334 Saint Ismier Cedex - France
Received on Friday, 18 June 2004 09:48:01 UTC