Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How Idol/FIND visualizes (shows) Xml Fields structure in "Advanced Metadata" view #70

Open
ciroppina opened this issue Jan 11, 2022 · 1 comment

Comments

@ciroppina
Copy link

ciroppina commented Jan 11, 2022

Dear Sirs,
I have this XML structure in my IDOL Content XML database: (see 1st image "XML_DOCUMENT.jpg")
But in Find, Expanded View, "ADVANCED" Metadata I can only see "flattened" fields (see 2nd image "ADVANCED_METADATA.jpg")

Is there in FInd a way, or configuration, to show XML data in their original (parent/children) structure?, ie:
LUOGO

  • COMUNE Salemi
  • ENTITAID 3
  • INDIRIZZOCOMPLETO Salemi, Trapani
  • LUOGOESTEROFLAG false
  • NAZIONE Italia
  • PESO 1
  • PROVINCIA Trapani
  • REGIONE Sicilia
    LUOGO (again the field structure)

["XML_DOCUMENT.jpg"]
XML_DOCUMENT
["ADVANCED_METADATA.jpg"]
ADVANCED_METADATA

@ciroppina ciroppina changed the title How Idol/FIND visualizes (shows) Xml Filelds structures in "Advanced Metadata" view How Idol/FIND visualizes (shows) Xml Fields structure in "Advanced Metadata" view Jan 11, 2022
@ciroppina
Copy link
Author

ciroppina commented Jan 11, 2022

I undertand that Find metadata visualization (in Document expanded view) is a kind-of "ResponseFormat=FLATMAP"; it means that when a structured-XML field occurs more-than-once in a XML indexed DOCUMENT, Find shows it as a "one-to-many" fashion (field: name, values: [s1, s2, ...sn] ) removing parental structure

I need to show/view such fields in a "ResponseFormat=json" way instead. I mean:
"PERSONA": [
{
"COGNOME": "Civelli",
"ENTITAID": "22",
"NOME": "Giorgia",
"NOMINATIVO": "Giorgia Civelli",
"PESO": "1",
"SESSO": "F"
},
{ next PERSONA structure... }
]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant