Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7927801
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T19:30:06+00:00 2026-06-03T19:30:06+00:00

Example in XML: <someLable>the value within that lable</someLable> …. <relativeLable>&someLable;</relativeLable> Example in YAML: config:

  • 0

Example in XML:

<"someLable">the value within that lable</"someLable">
....
<"relativeLable">&someLable;</"relativeLable">

Example in YAML:

config: &defaults
  database: "myBD"
    address: locatlhost

developement: 
  <<*defaults     

and in JSON [I have no clue]:

{listOfPeople":{
    {"parent1":{"name":"value1","otherName":"otherValue1"},
    {"parent2":{"name":listOfPeople.parent2.name,"otherName":"otherValue1"}
};

What would I put in for listOfPeople.parent1.name
I’ve tried wrapping all these versions, but can’t find the right one, or even if it exists in json:

  • eval(I’tried self.parent2.name)
  • self.parent1.name
  • this.parent1.name
  • parent1.name
  • &parent.name;
  • “&parent.name”;
  • &”parent”.”name”;
  • “&parent;”.”&name;”
  • and various other iterations of the previous

Please clear this up for me, and if possible to post a reference for these types of reserved functions in JSON

Here is a use in the rdf:RDF definition

<!DOCTYPE rdf:RDF [

<!ENTITY location "http://www.w3.org/2002/07/owl" >
<!ENTITY rdf "http://www.w3.org/1999/02/22-rdf-syntax-ns#" >
<!ENTITY rdfs "http://www.w3.org/2000/01/rdf-schema#" >
<!ENTITY xsd "http://www.w3.org/2001/XMLSchema#" >
<!ENTITY dc "http://purl.org/dc/elements/1.1/" >
<!ENTITY grddl "http://www.w3.org/2003/g/data-view#" >
<!ENTITY owl "&location;#" >

]>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T19:30:07+00:00Added an answer on June 3, 2026 at 7:30 pm

    JSON has no way to automatically refer to previous values. You could add a notation to your own JSON structures, and then write your own code to interpret that notation in your decoded JSON.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a stylesheet that generates HTML for XML files. Example XML file: <?xml
I need to sort an example XML in a way that all the ShippingPoints
Okay, so I've got some example xml that looks like this: <Node name=details> <Node
This is my struts.xml <struts> <include file=example.xml/> <constant name=struts.devMode value=true /> <package name=register namespace=/register
How do I convert XML to string and get the element value? Example XML
So this is an example xml that musicbrainz returns (for artist Absynthe Minded and
Example XML using element nodes: <?xml version=1.0 encoding=utf-8?> <users> <user> <name>David Smith</name> <phone>0441 234443</phone>
i've got following example xml: <entity id=1> <name>computer</name> <type>category</type> <entities> <entity id=2> <name>mac</name> <type>category</type>
Given this example XML file: <doc> <tag> Hello ! </tag> <tag> My name is
This is an example xml from MSDN <?xml version=1.0?> <!-- A fragment of a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.