Robyn Mylius wrote:
i've never used XPCOM components before, all i want to do is to use one of
the schema components from java script, how ever i haven't be able to find
docs on how to actually use xpcom components from java script, except for a
breif mention of xpconnect, but still no mention of how to actuall use it.
can anyone provide me with links to tutorials on the subject, at least on
how to use xpom from java script, using schema components would be an added
bonus.
Mark



Do you mean the XML schema objects, that start with nsISchema?


If so, they may be used without XPCOM, since there are JS constructors for them that will work in unpriviledged code.

Example:

  var loader = new SchemaLoader();
  var schema = loader.load("schema.xml");

and then go from there.

Almost all of the schema, web services and XML features can be used without using XPCOM/XPConnect APIs directly.

/ Neil

_______________________________________________
Mozilla-xpcom mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-xpcom

Reply via email to