Re: create RDF namespace from a script? fourth parameter of Assert? xul-rule for existance of a property?

Neil <[email protected]> Mon, 08 Aug 2005 00:08:23 +0100
Newsgroups gmane.comp.mozilla.devel.rdf
Organization Another Netscape Collabra Server User
Message-ID <[email protected]>
Harry wrote:

>1. A manually written file in firefox can declare MYNS as namespace, but when creating from script it's labeled NS1,NS2 ... etc.
>  
>
If you are using a serializer then you can tell it to use specific 
namespaces.

>2. Can someone explain the fourth parameter of Assert (the truthvalue)?
>  
>
When you have a composite of a readonly data source and a writable data 
source then sometimes you need to Assert a negative assertion into the 
writable data source to hide an assertion in the readonly data source.

>3. Is there a way to display elements in a xul-template dependend on the existance of a value?
>  
>
Yes, you need to learn advanced template syntax. Basically you can 
require the existence of a value by listing it in the <conditions> 
section instead of the <bindings> section.

-- 
Warning: May contain traces of nuts.