Re: Java DOM API - from java application

Josef Garvi <[email protected]>
Newsgroups gmane.comp.mozilla.devel.java
Organization Eden Foundation
Message-ID <s8WdnSwtX5ZjxwvZnZ2dnUVZ_vednZ2d__7463.70077035881$1150704626$gmane$org@mozilla.org>
Hani Samir (Hanaldo) wrote:
> Hello,
> 
> I wanted to develop a Java application in which I can write XUL
> (using DOM) and then save this XUL as an XML file.
> 
> They are ordinary XML DOM API's like JAXP. But they only write XML
> and not specifically XUL.

Well, you should be able to create XUL documents (or documents of any 
other type of XML language) using a normal DOM API. The key is just to 
follow the conventions of the XUL schema:

http://xulmaker.mozdev.org/xpath-evaluator/no_wrap/xul.xsd

Validate the documents you create to see that they follow the XUL-standard.


-- 
Josef Garvi

"Reversing desertification through drought tolerant trees"
http://www.eden-foundation.org/

new income - better environment - more food - less poverty
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.