any idea on how to include tool tip in xml file so that I can display some useful informaiton
Post here questions and problems related to editing and publishing DITA content.
-
- Posts: 9438
- Joined: Fri Jul 09, 2004 5:18 pm
Re: any idea on how to include tool tip in xml file so that I can display some useful informaiton
Hi,
Please give us more details. What type of XML file? Is it a DITA XML file or some other type of XML file? Where do you want to see the tooltip? In the published HTML output or extract the tooltip from the XML and display it in an application?
Regards,
Radu
Please give us more details. What type of XML file? Is it a DITA XML file or some other type of XML file? Where do you want to see the tooltip? In the published HTML output or extract the tooltip from the XML and display it in an application?
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 23
- Joined: Tue Nov 08, 2022 5:12 pm
Re: any idea on how to include tool tip in xml file so that I can display some useful informaiton
It is DITA xml file
Where do you want to see the tooltip?
I need to display tool tip text when I hover the mouse on a text once I render/load xml file in browser.
What I am trying to do is
I am trying to create CHM file using OxygenXML with HTMLHelp as a plugin.
input : DITAMAP of DITA files
output: CHM file
Challenge Facing : Since I am not able to include JavaScript in XML I am not able to display the content of a page(DITA file) as Tool Tip like window,
Which is possible in RoboHelp.
Where do you want to see the tooltip?
I need to display tool tip text when I hover the mouse on a text once I render/load xml file in browser.
What I am trying to do is
I am trying to create CHM file using OxygenXML with HTMLHelp as a plugin.
input : DITAMAP of DITA files
output: CHM file
Challenge Facing : Since I am not able to include JavaScript in XML I am not able to display the content of a page(DITA file) as Tool Tip like window,
Which is possible in RoboHelp.
-
- Posts: 9438
- Joined: Fri Jul 09, 2004 5:18 pm
Re: any idea on how to include tool tip in xml file so that I can display some useful informaiton
Hi,
I'm not familiar with Robohelp's features. Did you generate a CHM also in Robohelp or was it something else?
Do you need to include Javacript libraries in the HTML content which gets generated inside the CHM? Do you know what Javascript libraries to include?
Regards,
Radu
I'm not familiar with Robohelp's features. Did you generate a CHM also in Robohelp or was it something else?
Do you need to include Javacript libraries in the HTML content which gets generated inside the CHM? Do you know what Javascript libraries to include?
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 23
- Joined: Tue Nov 08, 2022 5:12 pm
Re: any idea on how to include tool tip in xml file so that I can display some useful informaiton
Did you generate a CHM also in Robohelp or was it something else?
yes I was able to generate CHM file in RoboHelp. But here I am using OxygenXML Editor to generate CHM file. When I transform I am getting errors if I try to include Javascript in xml as shown below
<script src="../ehlpdhtm.js" type="text/javascript" language="JavaScript1.2">
<a href="javascript:BSSCPopup('Select_OD_Drop-Down_List_Box_Popup.htm');" id="A1">Select OD drop-down list box</a>
yes I was able to generate CHM file in RoboHelp. But here I am using OxygenXML Editor to generate CHM file. When I transform I am getting errors if I try to include Javascript in xml as shown below
<script src="../ehlpdhtm.js" type="text/javascript" language="JavaScript1.2">
<a href="javascript:BSSCPopup('Select_OD_Drop-Down_List_Box_Popup.htm');" id="A1">Select OD drop-down list box</a>
-
- Posts: 9438
- Joined: Fri Jul 09, 2004 5:18 pm
Re: any idea on how to include tool tip in xml file so that I can display some useful informaiton
Hi,
If you edit DITA XML files you can only add content valid according to the DITA XML vocabulary.
You can embed welll-formed HTML content inside a DITA XML topic with this approach:
https://www.oxygenxml.com/doc/versions/ ... -html.html
The HTML needs to be well-formed, you need to also specify the end tag for the script element:
but this will not add the referenced javascript file inside the CHM, you probably need to customize the publish engine to copy the Javascript file inside the CHM at publishing time.
Regards,
Radu
If you edit DITA XML files you can only add content valid according to the DITA XML vocabulary.
You can embed welll-formed HTML content inside a DITA XML topic with this approach:
https://www.oxygenxml.com/doc/versions/ ... -html.html
The HTML needs to be well-formed, you need to also specify the end tag for the script element:
Code: Select all
<script src="../ehlpdhtm.js" type="text/javascript" language="JavaScript1.2"></script>
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
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)
- ↳ 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