so I guess you used the "STR# to XLIFF" tool;
you drag and drop an RSR file,
and you get a "en.lproj" folder.

there is no need to even open the file, let alone parse it with native 4D 
commands.
just put it inside your Resources folder,

and the line e.g.

STRING LIST TO ARRAY(14950;$strings)

will work as before.

> 2017/03/09 11:07、Steven via 4D_Tech <4d_tech@lists.4d.com> のメール:
> Miyako’s reply confirms that RESOURCE LIST does not work with XLIFF files, as 
> I suspected.
> So having extracted my STR# resources into XLIFF files (with the help of 
> Miyako's component, thanks again), what I would like to do is replicate its 
> functionality, i.e. extract arrays of the ‘ids’ and ’resnames’ of all of the 
> ‘group’ elements present within those XLIFF files.  I am confident that that 
> can be done, but as I said I am entirely out of my depth with respect to XML 
> and native 4D XML commands.
> Any direction, better yet, sample code would be greatly appreciated.




**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**********************************************************************

Reply via email to