[JDEV] Specified "attribute"

DJ Adams dj.adams at pobox.com
Fri May 18 06:42:21 CDT 2001


On Fri, May 18, 2001 at 10:50:01AM +0200, Angelo Ginocchio wrote:
> Hi All,
> How can do for send specified "attribute", es. size, profile,
> create_folder, delete_folder, etc?
> I can expand functionality ,"attribute", adding namespace?
> 
> Angelo

Hi Angelo

It's a bit difficult to understand your question, but I'm 
going to have a go - are you asking about how you can add
custom data (tags and attributes) to Jabber elements? If
so, you can do that by adding any number of sub-elements
(child-tags) of the Jabber element, where each one is 
qualified by a namespace, like this:

<message .... >

  <x xmlns='your:namespace'>
    <tag attr1='val1' .../>
    ...
  </x>

  ...

</message>

Does that help?

dj



> 
> 
> 
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev



More information about the JDev mailing list