Does Oxygen add in <?xm-replace_text?> processing instruction when using SDL Authoring Bridge?
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 316
- Joined: Wed Jun 17, 2015 10:19 am
Does Oxygen add in <?xm-replace_text?> processing instruction when using SDL Authoring Bridge?
Post by ann.jensen »
Hi,
Our authors use XMetaL across the SDL Authoring Bridge and XMetaL adds in a <?xm-replace_text?> processing instruction to resolve names of topics linked to in cross references.
Does Oxygen apply this same PI for topics authored across the SDL Authoring Bridge?
Any advice appreciated,
Regards,
Ann
Our authors use XMetaL across the SDL Authoring Bridge and XMetaL adds in a <?xm-replace_text?> processing instruction to resolve names of topics linked to in cross references.
Does Oxygen apply this same PI for topics authored across the SDL Authoring Bridge?
Any advice appreciated,
Regards,
Ann
-
- Posts: 9467
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Does Oxygen add in <?xm-replace_text?> processing instruction when using SDL Authoring Bridge?
Hi Ann,
Oxygen does not use this processing instruction in any way, when in a DITA topic you have a cross reference to another DITA topic and the xref has no text inside it Oxygen retrieves the title of the target topic dynamically when you open the XML document containing the link. So it does not "cache" that title inside a processing instruction.
Regards,
Radu
Oxygen does not use this processing instruction in any way, when in a DITA topic you have a cross reference to another DITA topic and the xref has no text inside it Oxygen retrieves the title of the target topic dynamically when you open the XML document containing the link. So it does not "cache" that title inside a processing instruction.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 316
- Joined: Wed Jun 17, 2015 10:19 am
Re: Does Oxygen add in <?xm-replace_text?> processing instruction when using SDL Authoring Bridge?
Post by ann.jensen »
Thanks for your reply Radu.
When you say
Or does Oxygen go across the SDL Authoring Bridge to source the title if it's not available locally?
Thanks again,
Ann
When you say
does the linked-to topic have to exist locally along with the XML document containing the link?Oxygen retrieves the title of the target topic dynamically when you open the XML document containing the link.
Or does Oxygen go across the SDL Authoring Bridge to source the title if it's not available locally?
Thanks again,
Ann
-
- Posts: 9467
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Does Oxygen add in <?xm-replace_text?> processing instruction when using SDL Authoring Bridge?
Hi Ann,
Most CMS integrations (including SDL) work with a custom URL protocol implemented by the browser vendor with an Oxygen plugin, so when I open in Oxygen a resource from the SDL browser view implemented by SDL as an Oxygen plugin, Oxygen opens an URL like "sdl://path/to/topic.dita" and asks SDK for the content.
When topic.dita has an xref like <xref href="target.dita"/>, Oxygen creates an absolute URL for the reference like "sdl://path/to/target.dita" and again asks the SDL connector for the content. The SDL plugin/connector may retrieve the content from the server or it may have also a small local cache (which it does from what I know) to avoid retrieving the same resource's content twice.
Regards,
Radu
Most CMS integrations (including SDL) work with a custom URL protocol implemented by the browser vendor with an Oxygen plugin, so when I open in Oxygen a resource from the SDL browser view implemented by SDL as an Oxygen plugin, Oxygen opens an URL like "sdl://path/to/topic.dita" and asks SDK for the content.
When topic.dita has an xref like <xref href="target.dita"/>, Oxygen creates an absolute URL for the reference like "sdl://path/to/target.dita" and again asks the SDL connector for the content. The SDL plugin/connector may retrieve the content from the server or it may have also a small local cache (which it does from what I know) to avoid retrieving the same resource's content twice.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 316
- Joined: Wed Jun 17, 2015 10:19 am
Re: Does Oxygen add in <?xm-replace_text?> processing instruction when using SDL Authoring Bridge?
Post by ann.jensen »
Hi Radu,
Is there any configuration that I can do to Oxygen XML Author or Editor to mimic the way that XMetaL inserts the PI <?xm-replace_text?> for a cross reference to a RWS topic?
Ideally such topic with a cross reference would show that topic title when rendered in RWS Publication Manager but this only works when the xref was added via XMetaL and not Oxygen XML Author.
Any advice appreciated,
Regards,
Ann
Is there any configuration that I can do to Oxygen XML Author or Editor to mimic the way that XMetaL inserts the PI <?xm-replace_text?> for a cross reference to a RWS topic?
Ideally such topic with a cross reference would show that topic title when rendered in RWS Publication Manager but this only works when the xref was added via XMetaL and not Oxygen XML Author.
Any advice appreciated,
Regards,
Ann
-
- Posts: 9467
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Does Oxygen add in <?xm-replace_text?> processing instruction when using SDL Authoring Bridge?
Hi Ann,
I do not know how XMetal works, do they insert that processing instruction automatically when the action to insert a link is called? What does that processing instruction contain? We do not have such an equivalent in Oxygen. We have APIs which would allow someone to implement a plugin or framework to auto change certain pieces of content after a link is inserted.
We do not have such a feature in Oxygen, is this a problem with how the link is rendered in Oxygen or in the RWS web editing tool?
Regards,
Radu
I do not know how XMetal works, do they insert that processing instruction automatically when the action to insert a link is called? What does that processing instruction contain? We do not have such an equivalent in Oxygen. We have APIs which would allow someone to implement a plugin or framework to auto change certain pieces of content after a link is inserted.
We do not have such a feature in Oxygen, is this a problem with how the link is rendered in Oxygen or in the RWS web editing tool?
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 316
- Joined: Wed Jun 17, 2015 10:19 am
Re: Does Oxygen add in <?xm-replace_text?> processing instruction when using SDL Authoring Bridge?
Post by ann.jensen »
Hi Radu,
To answer your questions
do they insert that processing instruction automatically when the action to insert a link is called?
Yes, after inserting a cross reference to a Tridion Docs topic, XMetaL automatically inserts
between the <xref> tags.
What does that processing instruction contain?
We have APIs which would allow someone to implement a plugin or framework to auto change certain pieces of content after a link is inserted.
We do not have such a feature in Oxygen, is this a problem with how the link is rendered in Oxygen or in the RWS web editing tool?
The xref renders fine in Oxygen XML Author showing the topic title in author view for the xref. However, after checking topic back in to the CMS and opening in the RWS Publication Manager tool HTML view, it shows a hyperlink for xref with [Link text cannot be resolved]
If the <?xm-replace_text ?> PI exists in the <xref> then it uses the text associated with that (which is the topic title) for the hyperlink text.
Regards,
Ann
To answer your questions
do they insert that processing instruction automatically when the action to insert a link is called?
Yes, after inserting a cross reference to a Tridion Docs topic, XMetaL automatically inserts
Code: Select all
<?xm-replace_text <title of topic> ?>
What does that processing instruction contain?
Code: Select all
<?xm-replace_text <title of topic> ?>
We do not have such a feature in Oxygen, is this a problem with how the link is rendered in Oxygen or in the RWS web editing tool?
The xref renders fine in Oxygen XML Author showing the topic title in author view for the xref. However, after checking topic back in to the CMS and opening in the RWS Publication Manager tool HTML view, it shows a hyperlink for xref with [Link text cannot be resolved]
If the <?xm-replace_text ?> PI exists in the <xref> then it uses the text associated with that (which is the topic title) for the hyperlink text.
Regards,
Ann
-
- Posts: 9467
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Does Oxygen add in <?xm-replace_text?> processing instruction when using SDL Authoring Bridge?
Hi Ann,
This does not seem like a problem related to Oxygen's functionality, SDL has a plugin for Oxygen (plugin which you probably have installed on your side to connect to their CMS), maybe you can convince them to use our APIs in order to detect when a link is added and make the relevant changes from their plugin.
Regards,
Radu
This does not seem like a problem related to Oxygen's functionality, SDL has a plugin for Oxygen (plugin which you probably have installed on your side to connect to their CMS), maybe you can convince them to use our APIs in order to detect when a link is added and make the relevant changes from their plugin.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 316
- Joined: Wed Jun 17, 2015 10:19 am
Re: Does Oxygen add in <?xm-replace_text?> processing instruction when using SDL Authoring Bridge?
Post by ann.jensen »
Thanks for the advice Radu, I will try that.
Regards,
Ann
Regards,
Ann
Return to “DITA (Editing and Publishing DITA Content)”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service