On Thu, 2010-02-18 at 14:22 -0500, M. Ranganathan wrote:
> 
> <gateways>
>     <gateway>
>          <id>a</id>
>     </gateway>
>     <gateway>
>          <id>b</id>
>     </gateway>
> </gateways>

This would be better XML design to make this:
        
        <gateways>
            <gateway id='a'>
        
            </gateway>
            <gateway id='b'>
        
            </gateway>
        </gateways>

if you use an attribute, you can:

      * include the uniqueness constraint on id values in the schema
        definition
      * use xpath expressions to address a gateway definition


_______________________________________________
sipx-dev mailing list [email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev
sipXecs IP PBX -- http://www.sipfoundry.org/

Reply via email to