[JDEV] iq:version.dtd. is it correct?

Julian Missig julian at linuxpower.org
Thu Jun 29 15:23:52 CDT 2000


No, you don't *have* to have each one of those, nor must they be in a
specific order, so it should be:
<!ELEMENT query ((name? | version? | os?)*)>

Meaning you can have each of them in any order 0 or 1 times...

Or something like that.

Julian

Soonmyung Hong wrote:
> 
> on jabber:iq:version.dtd,
> 
> <!ELEMENT query ((name | version | os)?)>
> 
> but different style is shown on examples like this.
> 
>   <iq type="result" to="foo at bar.com">
>       <query xmlns="jabber:iq:version">
>           <name>WinJab</name>
>           <version>0.9.0.52</version>
>           <os>NT 4.0</os>
>       </query>
>   </iq>
> 
> it seems like
> 
> <!ELEMENT query ((name, version, os)?)>
> 
> or some.
> is it correct?
> 
> _______________________________________________
> jdev mailing list
> jdev at jabber.org
> http://mailman.jabber.org/listinfo/jdev

-- 
email: julian at linuxpower.org
jabber:julian at jabber.org




More information about the JDev mailing list