Concatenate meta elements into a ListOfmeta
Concatenate ListOfmeta elements into a flat ListOfmeta
Examples
c(meta(content="example", property="dc:title"),
meta(content="Carl", property="dc:creator"))
#> An object of class "ListOfmeta"
#> [[1]]
#> An object of class "LiteralMeta"
#> Slot "id":
#> [1] "m26"
#>
#> Slot "property":
#> [1] "dc:title"
#>
#> Slot "datatype":
#> [1] "xsd:string"
#>
#> Slot "content":
#> [1] "example"
#>
#> Slot "children":
#> list()
#>
#> Slot "xsi:type":
#> [1] "LiteralMeta"
#>
#>
#> [[2]]
#> An object of class "LiteralMeta"
#> Slot "id":
#> [1] "m27"
#>
#> Slot "property":
#> [1] "dc:creator"
#>
#> Slot "datatype":
#> [1] "xsd:string"
#>
#> Slot "content":
#> [1] "Carl"
#>
#> Slot "children":
#> list()
#>
#> Slot "xsi:type":
#> [1] "LiteralMeta"
#>
#>
#> Slot "names":
#> [1] NA NA
#>
metalist <- c(meta(content="example", property="dc:title"),
meta(content="Carl", property="dc:creator"))
out <- c(metalist, metalist)
out <- c(metalist, meta(content="a", property="b"))