Hi Christian, Thanks so much for the quick response and the updated plugin. Everything is now working as expected! :)
Best wishes, Juergen Juergen May Operations Director Accent Graphics 5 Unicorn Park, Whitby Road, Bristol BS4 4EX T 0117 941 8000 | www.agbristol.co.uk <http://www.agbristol.co.uk/>Accent Graphics is the trading name of Hi Density Solutions Ltd. Registered in England 4176407, registered office as above. This email and attachments are intended for the addressee only and may be confidential. If you have received this e-mail in error please notify the sender immediately and delete it from your system. Although we have taken steps to ensure that this e-mail is virus free, in accordance with good practice you should check for viruses before opening any attachments. On 28 July 2013 11:00, <[email protected]> wrote: > Send Mbsfmplugin_monkeybreadsoftware.info mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > > https://ml01.ispgateway.de/mailman/listinfo/mbsfmplugin_monkeybreadsoftware.info > > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Mbsfmplugin_monkeybreadsoftware.info digest..." > > > Today's Topics: > > 1. Issue when using XML.Query to get attributes (Juergen May) > 2. Re: Issue when using XML.Query to get attributes > (Christian Schmitz) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Sun, 28 Jul 2013 09:06:34 +0100 > From: Juergen May <[email protected]> > Subject: [MBS] Issue when using XML.Query to get attributes > To: [email protected] > Message-ID: > < > cageqv2nhfdbcomrcq8ittef2gefukeaocngdqxer1m2wqw+...@mail.gmail.com> > Content-Type: text/plain; charset=ISO-8859-1 > > Hi, > > I'm trying to use XML.Query to access some XML node attributes but I keep > getting a ? instead of the value. > > Using some very simple XML... > > <cXML> > <Request> > <OrderRequest> > <OrderRequestHeader orderID="1629" type="new"> > <Money>128.99</Money> > </OrderRequestHeader> > </OrderRequest> > </Request> > </cXML> > > The XPath code /cXML/Request/OrderRequest/OrderRequestHeader/@orderID > doesn't return the value "1629" as I would expect. I just get a ? instead. > I tried adding /text() but then I get an empty string. > > Any idea what I've done wrong? > > Many thanks, > > Juergen > > > ------------------------------ > > Message: 2 > Date: Sun, 28 Jul 2013 11:54:20 +0200 > From: Christian Schmitz <[email protected]> > Subject: Re: [MBS] Issue when using XML.Query to get attributes > To: MBS Filemaker Plugin List <[email protected]> > Message-ID: > <[email protected]> > Content-Type: text/plain; charset=us-ascii > > > Am 28.07.2013 um 10:06 schrieb Juergen May <[email protected]>: > > > Hi, > > > > The XPath code /cXML/Request/OrderRequest/OrderRequestHeader/@orderID > > I get here: > > <?xml version="1.0" encoding="UTF-8"?> > orderID="1629" > > And with this > > string(/cXML/Request/OrderRequest/OrderRequestHeader/@orderID) > > and with a new plugin it returns 1629. > > I had to fix a little bug. > I'll email you a fixed plugin. > > Greetings > Christian > > -- > MBS Xojo Developer Conference 2013 > > More details and registration here: > http://www.monkeybreadsoftware.de/realbasic/events/ > > > > > > > > > ------------------------------ > > _______________________________________________ > Mbsfmplugin_monkeybreadsoftware.info mailing list > [email protected] > > https://ml01.ispgateway.de/mailman/listinfo/mbsfmplugin_monkeybreadsoftware.info > > > End of Mbsfmplugin_monkeybreadsoftware.info Digest, Vol 79, Issue 2 > ******************************************************************* > _______________________________________________ Mbsfmplugin_monkeybreadsoftware.info mailing list [email protected] https://ml01.ispgateway.de/mailman/listinfo/mbsfmplugin_monkeybreadsoftware.info
