Re: <none>

Irene Vatton <[email protected]>
Newsgroups gmane.comp.web.amaya.devel
Organization INRIA
Message-ID <[email protected]>
On Thu, 17 Jun 2004 02:41:27 -0400 (EDT)
"Sunandan" <[email protected]> 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: [email protected]       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
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.