thaks both of you, i finally figured out how to use the xpcom struff, but of
cource ran into the security problem.

is there documentation of all the js constructors, i've found bits and
pieces like a dom and xslt processors and now the schema stuff.

i'd like to support mozilla but i'm finding the documentation on just how to
do that to be either non existant or poorly written

Mark

"Neil Deakin" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> 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