Using XPath with reusable content
Posted: Thu Sep 24, 2020 12:46 am
I am developing a set of procedures that all have unique names and ID codes.
I want to create a "master list" of procedure names and ID codes. My first thought was to use raw XML, like this:
Now, when I create each task file, I want the title of each task to pull from this XML document. I would use XPath to do this.
But I don't understand where I tell Oxygen to use XPath to pull content from another reference.
Am I thinking about this correctly? Is there a better way to do this, like is this what a "key map" is?
I want to create a "master list" of procedure names and ID codes. My first thought was to use raw XML, like this:
Code: Select all
<master-list>
<entry>
<procedure-name>Remove Component 1</procedure-name>
<unique-id>1234</unique-id>
</entry>
<entry>
<procedure-name>Remove Component 2</procedure-name>
<unique-id>5678</unique-id>
</entry>
<master-list>
But I don't understand where I tell Oxygen to use XPath to pull content from another reference.
Am I thinking about this correctly? Is there a better way to do this, like is this what a "key map" is?