Hot Door CORE Forum
XML Support - Printable Version

+- Hot Door CORE Forum (http://hotdoorcore.com/forum)
+-- Forum: All forums (http://hotdoorcore.com/forum/forumdisplay.php?fid=1)
+--- Forum: Getting started (http://hotdoorcore.com/forum/forumdisplay.php?fid=6)
+--- Thread: XML Support (/showthread.php?tid=30)



XML Support - vinothjaguva - 07-23-2014

Hi

Is there any possibility for Dynamic XML link like variable and Dynamic Content


RE: XML Support - garrett - 07-23-2014

(07-23-2014, 04:43 AM)vinothjaguva Wrote: Is there any possibility for Dynamic XML link like variable and Dynamic Content

CORE is meant to be a generic Illustrator plugin development library, so specific features like XML linking and dynamic content will not be built into it. These sorts of things are up to the plugin developer to create.

CORE itself does not support XML parsing at this time, but it does support JSON parsing through its various PrefData subclasses. If you would like parse XML data in your plugin, there is no reason that you can't link against both CORE and another C/C++ library (such as RapidXML, TinyXML, etc).


RE: XML Support - vinothjaguva - 07-23-2014

(07-23-2014, 12:32 PM)garrett Wrote:
(07-23-2014, 04:43 AM)vinothjaguva Wrote: Is there any possibility for Dynamic XML link like variable and Dynamic Content

CORE is meant to be a generic Illustrator plugin development library, so specific features like XML linking and dynamic content will not be built into it. These sorts of things are up to the plugin developer to create.

CORE itself does not support XML parsing at this time, but it does support JSON parsing through its various PrefData subclasses. If you would like parse XML data in your plugin, there is no reason that you can't link against both CORE and another C/C++ library (such as RapidXML, TinyXML, etc).


Thanks for your valuable reply.

The feature you have mention not available is "Parsing of XML" or "Validating of XML"(the XML is well formed or not)?

Is there any feature available to introduce panel sub menu using this?


RE: XML Support - garrett - 07-24-2014

(07-23-2014, 09:45 PM)vinothjaguva Wrote: The feature you have mention not available is "Parsing of XML" or "Validating of XML"(the XML is well formed or not)?

Is there any feature available to introduce panel sub menu using this?

Apologies, but I'm not sure I understand your question. Are you referring to the ability to manage and layout UI elements, such as panel flyout menus, via XML files? If so, this is a feature that CORE does not support at this time. Currently, UI widgets must be positioned upon object instantiation in your C++ code (though we have made this as easy as possible), and managed via the instantiated object. Internally we have discussed different options for UI layout, but have not come to a conclusion on exactly how we would like improve the situation.

Or were you referring to something else in your question?


RE: XML Support - vinothjaguva - 07-25-2014

(07-24-2014, 10:02 AM)garrett Wrote:
(07-23-2014, 09:45 PM)vinothjaguva Wrote: The feature you have mention not available is "Parsing of XML" or "Validating of XML"(the XML is well formed or not)?

Is there any feature available to introduce panel sub menu using this?

Apologies, but I'm not sure I understand your question. Are you referring to the ability to manage and layout UI elements, such as panel flyout menus, via XML files? If so, this is a feature that CORE does not support at this time. Currently, UI widgets must be positioned upon object instantiation in your C++ code (though we have made this as easy as possible), and managed via the instantiated object. Internally we have discussed different options for UI layout, but have not come to a conclusion on exactly how we would like improve the situation.

Or were you referring to something else in your question?

Thanks for your timely response.
Q1. There are two ways to validate the xml.
1) Validating the XML based on the schema / DTD
2) Validating the XML whether its welformed or not (using nsgmls parser in windows)
That what I meant, which feature does not have in this 1 or 2 or both.

Q2. Are there any options available to introduce the panel sub menu? Screen shot attached.

The purpose of the questions we have posted in form to know the features before start building the Variable concept and XML Parsing plug-ins.

Once again really appreciating your quick response.

Smile


RE: XML Support - garrett - 07-25-2014

CORE does not parse or validate XML at all.

Panel flyout menus are supported, but like all other UI elements they are created via C++ code.