[fpc-pascal] Request Suggestions - XML Interface
Lee Jenkins
lee at datatrakpos.com
Fri Jul 22 15:16:45 CEST 2011
I'm writing a small program which utilizes PascalScript. All objects provided
to scripts are Interface instances with reference counting. I am making
available to scripts, the basic functionality most would need to use in the
script such as HTTPClient, JSON, StringBuilder, etc.
I would like to provide an XML implementation for scripts in this application
and I am unsure how to go about leveraging FPC's existing XML DOM framework as
Interfaces since it does not implement interfaces.
The only thing I can think of is to wrap existing FPC DOM objects in other
objects that implement the appropriate interfaces. Not sure how viable that
would be and I am concerned with the overhead of basically duplicating pertinent
objects in FPC DOM to represent the interface.
Any suggestions?
Thanks,
--
Warm Regards,
Lee
More information about the fpc-pascal
mailing list