Inserting HTML Content in WebHelp Responsive Output
Questions about XML that are not covered by the other forums should go here.
-
- Posts: 11
- Joined: Thu Feb 11, 2021 9:22 pm
Inserting HTML Content in WebHelp Responsive Output
Hi,
I followed this guide to add some JavaScript into my page:
https://www.oxygenxml.com/doc/versions/ ... -html.html
But I wasn't able to insert the script in. Instead, my header just displayed the file path to the document I would like to insert.
Any idea how I could fix this?
I followed this guide to add some JavaScript into my page:
https://www.oxygenxml.com/doc/versions/ ... -html.html
But I wasn't able to insert the script in. Instead, my header just displayed the file path to the document I would like to insert.
Any idea how I could fix this?
sample_header.PNG
You do not have the required permissions to view the files attached to this post.
-
- Site Admin
- Posts: 275
- Joined: Thu Dec 24, 2009 11:21 am
Re: Inserting HTML Content in WebHelp Responsive Output
Hello,
Please check that the content of your file (javascript.xhtml) is well-formed.
If you contribute this file using a transformation parameter, you need to set that parameter to the absolute path of the file.
If you contribute the file in your Publishing Template please provide more details about your template's configuration.
Regards,
Alin
Please check that the content of your file (javascript.xhtml) is well-formed.
If you contribute this file using a transformation parameter, you need to set that parameter to the absolute path of the file.
If you contribute the file in your Publishing Template please provide more details about your template's configuration.
Regards,
Alin
Alin Balasa
Software Developer
<oXygen/> XML Editor
http://www.oxygenxml.com
Software Developer
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 11
- Joined: Thu Feb 11, 2021 9:22 pm
Re: Inserting HTML Content in WebHelp Responsive Output
Hi,
Is this considered well formed? I am only inserting a test template:
And I tried to set the parameter to the absolute path but it only displays the absolute path at the top.
Is this considered well formed? I am only inserting a test template:
Code: Select all
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Title of document</title>
</head>
<body>
test
</body>
</html>
You do not have the required permissions to view the files attached to this post.
-
- Site Admin
- Posts: 275
- Joined: Thu Dec 24, 2009 11:21 am
Re: Inserting HTML Content in WebHelp Responsive Output
Hello,
Your HTML fragment is not well-formed because the associated DTD contains broken references.
When performing an well-formedness test in Oxygen, the check fails with the following error:

Please remove the DTD declaration and your HTML fragment should be included in the WebHelp output.
Regards,
Alin
Your HTML fragment is not well-formed because the associated DTD contains broken references.
When performing an well-formedness test in Oxygen, the check fails with the following error:

Please remove the DTD declaration and your HTML fragment should be included in the WebHelp output.
Regards,
Alin
Alin Balasa
Software Developer
<oXygen/> XML Editor
http://www.oxygenxml.com
Software Developer
<oXygen/> XML Editor
http://www.oxygenxml.com
Return to “General XML Questions”
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