Rohit R Ranade <[email protected]> wrote: > Hi, > Consider we have 2 records as given below > <config> (Rec1) > <name>10</name> > <foo>fred</foo> > </config> > <config> (Rec2) > <name>20</name> > <foo>fred</foo> > <foo>barney</foo> > <foo>wilma</foo> > <foo>someother</foo> > </config> > > Q1 : Using subtree filtering which condition on the leaf-list node can > the user give such that he selects the record which contains foo=fred > only... > [we can assume user does not know the value of "name"]
<config> <foo>fred</fred> </config> > Q2 : Also about the leaf-list, I have tried searching but have not > found how this leaf-list originated ? 1 instance of a scalar type => leaf N instances of a scalar type => leaf-list 1 instance of a structure => container N instances of a structure => list > Whether XSD list is the > representation for leaf-list in xsd ? No. > The XSD list is represented slightly differently as per > http://www.w3schools.com/xml/el_list.asp : <stringvalues>I love XML > Schema</stringvalues> Correct. /martin _______________________________________________ netmod mailing list [email protected] https://www.ietf.org/mailman/listinfo/netmod
