categories:
Input-Output, OO
description
The XML-Manager template is a complete XML-datahandling-subsystem. It´s designed to manage all the xml-input / output. The keyfeature is it´s possibility to not only read and parse external xml-files (which is possible too) but CREATE YOUR OWN XML-file WITHIN QUEST3D.
With XML Manager, you can build your own XML-treestructure in Quest3D using data (text)
from your project. (much easier to use, then creating a whole xml-text with the merge textoperator!). Once you have collected all your data from your application, you can save / query / modify your xml-document.
usage
example usage:
- save configuration of a furniture-configurator to external xml-file
- exchange data with other applications via xml
- create xml-datastructure from internal data for internal use
using XMLManager:
1. create a XMLDocument instance [createXMLDocument()]
2. fill the XMLDocument with data:
2a) [addNode()] enables you to build a XML treestructure to fill the XMLDocument with data from your Quest3D project
2b) [loadXMLFile()] fills the XMLDocument with data from a XML-File loaded from disk or web
Once the XMLDocument is filled with data, you can:
- query the XML-data [queryXMLDocument()] - see documentation (http://support.quest3d.com/index.php?title=XMLDOMCommand)
- save the XMLDocument to disk or web [saveXMLFile()]
- add new nodes to the document-root or existing nodes [addNode()]
- remove nodes [removeNode()]
- change the name of a single node [setNodeName()]
- change the content of a single node [setNodeContent()]
- add parameters to a node [addParameter()]
- remove a parameter from a node [removeParameter()]
- change the name of a single parameter [setParameterName()]
- change the content of a single parameter [setParameterContent()]
NOTE:
1)
manipulation (add nodes, add parameters, change / remove nodes, ...) is only possible with xml-documents created within Quest3D - not for loaded external xml-files. External xml-files can only be queried and saved.
2)
XML-Manager is designed to handle xml-data for Input/Output.
It´s not recommended to create the xml-treestructure every frame.
CREATED WITH 4.3 BETA 6
requirements

Quest3D Version 4.3 - Creative Edition
|
 custom channels needed
cgr's documented
|
|
|
You have to login to download this file!
|
comments:
Error while transmitting data! (ERROR 973) - Please try again!
Comment on this template
I am trying to use 4.3RC2 to open but all of the files are not editable or accessible. Is there a plan to recreate once 4.3 is fully released?