Naive XML questions

2020-10-25 Thread Graham Samuel via use-livecode
I feel stupid, but even with Sarah Reichelt’s help, there are very very simple things I can’t do with the LC XML functions. My current problem is this: I have a series of XML files which are in fact .gpx files - a collection of GPS coordinates representing a route on the Earth’s surface. There

Re: Naive XML questions

2020-10-25 Thread Alex Tweedly via use-livecode
I know nothing about it, so I can feel free to answer:-) Don’t care about the file format- look at the array format, probably in the IDE/debugger. That’s probably going to let you see how to address the individual nodes. Alex Sent from my iPhone > On 25 Oct 2020, at 17:21, Graham Samuel via

Re: Naive XML questions

2020-10-25 Thread Bernard Devlin via use-livecode
In his reply to you I think Alex is suggesting you use the handlers that come with the Datagrid. These can convert xml to a LC array. You might find it easier just to deal with a familair data structure rather than learn XML. I found them here:

Re: How to resolve "unable to locate play service dependency base version 9.4.0"

2020-10-25 Thread Richard Gaskin via use-livecode
Panos wrote: > This will probably help: > > https://quality.livecode.com/show_bug.cgi?id=22384 The instructions in your comment there certainly did. Thank you. -- Richard Gaskin Fourth World Systems Software Design and Development for the Desktop, Mobile, and the Web

iOS Emoji keyboard does not print to PDF?!

2020-10-25 Thread William de Smet via use-livecode
Hi there, A simple iOS app in which the user chooses the iOS keyboard to add text and an Emoji to a standard LC text field. I use 'export snapshot' to PDF as PNG to print to PDF. When there is only text in the field all text is printed to the PDF but when an Emoji is added the Emoji is not

Re: iOS Emoji keyboard does not print to PDF?!

2020-10-25 Thread Richmond via use-livecode
" 'export snapshot' to PDF as PNG" sounds a bit odd. On 25.10.20 21:47, William de Smet via use-livecode wrote: Hi there, A simple iOS app in which the user chooses the iOS keyboard to add text and an Emoji to a standard LC text field. I use 'export snapshot' to PDF as PNG to print to PDF.

Re: Naive XML questions

2020-10-25 Thread Alex Tweedly via use-livecode
On 25/10/2020 18:51, Bernard Devlin via use-livecode wrote: In his reply to you I think Alex is suggesting you use the handlers that come with the Datagrid. These can convert xml to a LC array. You might find it easier just to deal with a familair data structure rather than learn XML. I

Re: Naive XML questions

2020-10-25 Thread Ken Ray via use-livecode
Graham, here's the basic approach (assuming your XML is in the variable 'tXML'): put revXMLCreateTree(tXML,false,true,false) into tTreeID put "/gpx/trk/trkseg/trkpt[1]" into tNode -- the brackets identify the instance of "trkpt" to work with put revXMLAttribute(tTreeID,

Re: iOS Emoji keyboard does not print to PDF?!

2020-10-25 Thread scott--- via use-livecode
I think that emojis not rendering to PDF has been a longstanding issue… and I thought that I had filed a bug report on this but looking at bugzilla, I failed to find it. (sigh). I have code in two of my apps that alert the user, should PDF creation fail, that they should remove emojis from

Re: iOS Emoji keyboard does not print to PDF?!

2020-10-25 Thread William de Smet via use-livecode
Hi Richmond, That’s the short version of the code. Like I said it works fine as long as it is text only. When an Emoji from the iOS keyboard is added the Emoji is not printed in the PDF. > Op 25 okt. 2020 om 21:13 heeft Richmond via use-livecode > het volgende geschreven: > > "