Hi
What I would like to do:
Inside my document I have an element which has a “conref” to an element in another document. When opening this document oXygen will resolve the content and show it in the editor.
When there is already content inside the source element oXygen will visually show both the resolved content and the content which is inside that tag in the source document.
My goal is to only show the resolved content and hide all the other content that is inside the element.
Source document:
<ph conref="GUID-883F799A-D12E-4684-92AF-2365DC41EE19#GUID-883F799A-D12E-4684-92AF-2365DC41EE19/IMAGE_GRH_3T5_D4">
<image cid="JaJfR"
href="GUID.7A23068F.1C34.46A2.849F.91FF00B9D586"
placement="inline">
<alt>Description</alt>
</image>Some text
</ph>
I noticed that oXygen created a “#reference” reference element in memory to show the resolved content:
<ph conref="GUID-883F799A-D12E-4684-92AF-2365DC41EE19#GUID-883F799A-D12E-4684-92AF-2365DC41EE19/IMAGE_GRH_3T5_D4">
<#reference
href="ish:/
GUID-883F799A-D12E-4684-92AF-2365DC41EE19#GUID-883F799A-D12E-4684-92AF-2365DC41EE19/IMAGE_GRH_3T5_D4"
/>
<image
cid="JaJfR"
href="GUID.7A23068F.1C34.46A2.849F.91FF00B9D586"
placement="inline">
<alt>Description</alt>
</image>Some
text
</ph>
How can I manage to hide all the child elements except the “#reference” element (I marked the part I want to hide)?
Thanks in advance
Jan Bevers | Developer
| SDL | +32 (0)15 400 970 | jbevers@sdl.com
This message has been scanned for malware by Websense. www.websense.com