[Nml-wg] Simple example #1

Roman Łapacz romradz at man.poznan.pl
Wed Jul 11 10:13:39 EDT 2012


W dniu 2012-07-11 16:06, Roman Łapacz pisze:
> W dniu 2012-07-11 15:57, Freek Dijkstra pisze:
>> On 11-07-2012 15:50, Roman Łapacz wrote:
>>>> Hold on, did you mean to write:
>>>>
>>>>> <nml:BidirectionalLink 
>>>>> id="urn:ogf:network:domainy.net:2012:domainx-domainy-domainx">
>>>>> <nml:Relation 
>>>>> type="http://schemas.ogf.org/nml/2012/07/relation/representedBy">
>>>>> <nml:BidirectionalLink 
>>>>> id="urn:ogf:network:domainx.net:2012:domainx-domainy-domainx">
>>>>> <nml:Relation>
>>>>> </nml:Link>
>>>
>>> Yes, but I understand that I can use Link instead of BidirectionalLink
>>> while pointing to BidirectionalLink.
>> Sorry, I'm afraid I lost you there.
>>
>> It kind of sounds like "I like to use that chair, so I point to a 
>> table".
>
> Bidirectional link is a Link (I see it as inheritance) so for pointing 
> I think I can use Link element (but if it breaks a rule I can use 
> BidirectionalLink for that, no problem)

I've just realised that it was too object-oriented.

Let have this one:

<nml:BidirectionalLink 
id="urn:ogf:network:domainy.net:2012:domainx-domainy-domainx">
<nml:Relation type="http://schemas.ogf.org/nml/2012/07/relation/isAlias">
<nml:BidirectionalLink 
idRef="urn:ogf:network:domainx.net:2012:domainx-domainy-domainx">
<nml:Relation>
</nml:Link>

Roman

>
> Roman
>
>>
>> I guess that's not what you meant. :)
>>
>> Freek
>
> _______________________________________________
> nml-wg mailing list
> nml-wg at ogf.org
> https://www.ogf.org/mailman/listinfo/nml-wg



More information about the nml-wg mailing list