crackerzone
New Member
Let's say I want to create a function in my custom toolbox-module that uses a some custom xml file to provide instructions(passed on using a \[code\]$xmlpath\[/code\] parameter). How can I ensure that the input is using the correct xml type/syntax/format(correct elements, root-node etc.)? I've read about schemas(xsd) and namespaces(didn't understand this).If I use a schema-file, do I store it in my module's folder? If so, how do I link the xml-files to it? Or should I hardcode the schema path in my script(how do I get my module's location?)