XML includes
Posted: Fri Nov 10, 2017 2:22 pm
Amidst all this dicussion of syntax, I have a question about the XML. (Can you tell I'm doing some experiment code work?)
I'm trying to use XInclude directives within states (inside <task_system_state> tags).
If I put an include directive that points to a missing file (or corrupt file) inside a state, I don't get a parser error.
Include directives right after <monkeyml> continue to give errors for missing files.
I've tried:
<xi:include href="../XmlSharedIncludes/BaseExp.xml" parse="xml">
<xi:include href="../XmlSharedIncludes/BaseExp.xml" parse="xml" xpointer="xpointer(//monkeyml/*)"/>
(and tried with and without the trailing slash before >)
Is this expected?
thanks,
I'm trying to use XInclude directives within states (inside <task_system_state> tags).
If I put an include directive that points to a missing file (or corrupt file) inside a state, I don't get a parser error.
Include directives right after <monkeyml> continue to give errors for missing files.
I've tried:
<xi:include href="../XmlSharedIncludes/BaseExp.xml" parse="xml">
<xi:include href="../XmlSharedIncludes/BaseExp.xml" parse="xml" xpointer="xpointer(//monkeyml/*)"/>
(and tried with and without the trailing slash before >)
Is this expected?
thanks,