<div dir="auto">Original MFPath description.  I’m guessing people want to pass an MFPath to an SAI function, instead of declaring a field type.</div><div dir="auto"><br></div><div dir="auto">Perhaps using one or two MFPaths in a ROUTE would be best of all, and it would be declarative as well.</div><div dir="auto"><br></div><div dir="auto">John</div><div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">---------- Forwarded message ---------<br>From: <span dir="auto"><<a href="mailto:yottzumm@gmail.com">yottzumm@gmail.com</a>></span><br>Date: Sun, Apr 16, 2017 at 10:56 PM<br>Subject: Proposal for new fieldTypes, MFPath (MFField)<br>To: <a href="mailto:x3d@web3d.org">x3d@web3d.org</a> <<a href="mailto:x3d@web3d.org">x3d@web3d.org</a>><br></div><br><br><div lang="EN-US" link="blue" vlink="#954F72"><div class="m_6417667287594495806WordSection1"><p class="MsoNormal">I am proposing a new Field type, MFPath  which is a path (similar to CSS Selectors, XPath, JSONPath, etc) of indexes or keys into the scenegraph.  MFPath is a string based (space or other delimiter separated) list of SFString’s and SFInt32’s.  The SFString's are used to set/get fields out of SFNodes, and the SFInt32’s are used to get/add/replace children in MFNodes.   SFPaths are used on nodes high in the scenegraph.</p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I assume we would also have an SFPath (SFField) which would be either an SFString or a SFInt?</p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Would a better name be MFField?</p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">As motivation, I have posted code to the public list which shows use of this kind of type in a very simple route, but using MFStrings (well something like an MFString).  It’s not final yet, but there’s potential.</p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">A simple workaround is to make the SFInt’s into SFString’s, then use MFStrings.</p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Would this cause a major heartache in the compiled languages?  Perhaps a union would work?</p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I think the idea is to create different languages for paths in the long run.</p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Just an idea.</p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">John</p></div></div></div></div>