Say I have the following structure:
{
site : [
page1:
{
title: "Page One",
content: "Content for page one"
subpages : [
{
title: "Subpage one",
content: "Content for subpage one"
},
{
title: "Subpage two",
content: "Content for subpage two"
},
{
title: "Subpage three",
content: "Content for subpage three"
}
]
},
page2:
{
...
},
page3:
{
...
}
]
}
I want to retrieve Subpage One’s content, i.e. store a large nested structure and retrieve a specific node within that structure based on an xpath-style specifier. I would also like to be able to update that node.
Looking at the docs, I don’t think it’s possible, but I heard somewhere that it is.
It’s not possible – the documentation is right.