[Gambas-user] gb.xml "unSerialize"
Adrien Prokopowicz
adrien.prokopowicz at ...626...
Sat Oct 19 22:29:12 CEST 2013
Well, looks like there is a little bug here. I will fix that tomorrow.
Le Sat, 19 Oct 2013 20:15:57 +0200, Bruce <bbruen at ...2308...> a écrit:
> First, thanks all for the replies.
>
> re: Content v Contents
> I think (not that Australian is the definitive interpretation of
> the English language) that it depends on the explicit usage.
> "The content of this box is dangerous" refers to the
> entire contents of the box as a single entity.
> "The contents of this box are dangerous" refers to each
> and every item contained in the box.
> (if that makes it any clearer??)
>
> Now my problem, that I should have made clearer in the first place, is
> that the SQL string is an attribute of the node.
>
> <task name="Update diary", sql="UPDATE blah SET ... FROM blahblah WHERE
> date<current_date;" />
>
> I have no problem writing the xml out.
> wkXMLtask.NewAttribute("sql",sSQL)
> converts any internal >'s and <'s to < and > automagically.
> However,
> sSQL=wkXMLtask.GetAttribute("sql")
> leaves the XML encoded characters as they are.
>
> Bruce
>
> <
>
>
>
> ------------------------------------------------------------------------------
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most
> from
> the latest Intel processors and coprocessors. See abstracts and register
> >
> http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
--
Adrien Prokopowicz
More information about the User
mailing list