Hello Klaus, welcome to the list.

On Wed, Dec 9, 2009 at 1:57 PM, Klaus Holst Jacobsen
<[email protected]> wrote:
> Hello
>
> I use LTKCPP 1.0.0.5
>
> I would like to keep my reader configuration (e.g. ADD_ROSPEC) in XML format
> which should be parsed to binary and sent to the reader upon connection
> establishment.
>
> I found out that LTK-XML should do the job, but cannot seem to find this in
> the CPP toolkit. Is it not yet present in the CPP toolkit?
>

That is my recollection (I'm the author of LTK-Perl). I believe
LTK-CPP can generate LTK-XML but it cannot parse it.

I expect Gordon will correct me on this if I'm wrong.

> Can somebody give me some examples on how they've managed to do achieve this
> functionality in other ways? Implementing own Xerces SAX parser or equal!
>
> Regards
> Klaus Jacobsen

Assuming your requirement for CPP is a given:

You could embed a Perl interpreter since Perl is written in C and can
parse LTK-XML ;-)

Seriously I would not consider that out of the question... Perl can
build to a shared library or DLL.

More efficient and avoiding a dependency on Perl would be to write an
LTK-XML compiler that can take LTK-XML format and compile it to binary
format. I'm not the maintainer of LTK-CPP but I for one would find the
LTK-CPP much more attractive it fully supported LTK-XML.

-- John.

------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
llrp-toolkit-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/llrp-toolkit-devel

Reply via email to