Dear fellow exchangers,
For a project I'm expected to generate a xml file of previously defined format, which includes a inline schema. This xml is then communicated with other software running on another computer.
The script is running on a siemens runtime HMI, which seems to sometimes influence the exact capabilities.
I am not looking to validate the xml, I just wish to include (preferably from .xsd file) an inline schema.
I've been trying to find a decent way but have not stumbled upon any methods that should be used for doing so. I've been successful in putting out the xml data, but not with the schema inline.
I've tried mostly to find a suitable method, which lead to trying to using 'textattribute'. Reading the .xsd file with 'opentextfile', converting the content to string and then using that string to add as textattribute.
As I do believe this might be viable, I also ran into the issue that <,> is converted to < , > I have not yet found a solution for this, and I would like to avoid having to try and script the building of the complete schema...As it has already been build completely.
I apologise as for any vagueness, please do comment how to form my question more clearly if necessary.
Greetings