if you are a human please do not click here
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
Username :
Password :
Home
Help
Calendar
Register
Login
XMetaL Community Forums
»
General
»
DITA and XMetaL Discussion
»
No charset specified in mutlipe html output for the toc file, such as index.html
Pages:
1
« previous
next »
Print
Author
Topic: No charset specified in mutlipe html output for the toc file, such as index.html (Read 279 times)
mmoulder
Member
Posts: 39
No charset specified in mutlipe html output for the toc file, such as index.html
«
on:
June 02, 2011, 04:45:38 PM »
I am using XMetaL 6.0 EE.
When I create a multiple html output and have the main toc file as index.html the following is added to the html file:
<head>
<base target="contentwin" />
<title>
MozyHome Guide d'utilisation Version 2.10
</title>
</head>
However, in the other html files the following line is added:
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
I need this line inserted on the toc file as well. Any ideas on how to do this? Not sure why the main toc page leaves it off, but the other html files add this. I need this added because I am getting odd characters in the toc file because there is no charset specified.
Logged
Derek Read
Program Manager (XMetaL)
Administrator
Member
Posts: 1546
Re: No charset specified in mutlipe html output for the toc file, such as index.html
«
Reply #1 on:
June 02, 2011, 06:55:55 PM »
You would need to modify this file to include anything additional:
<DITA OT>\xsl\map2htmtoc.xsl
See the section that starts with this comment:
<!-- *********************************************************************************
Setup the HTML wrapper for the table of contents
********************************************************************************* -->
Logged
Derek Read
Program Manager (XMetaL)
Administrator
Member
Posts: 1546
Re: No charset specified in mutlipe html output for the toc file, such as index.html
«
Reply #2 on:
June 02, 2011, 07:01:06 PM »
There is an existing template here that you might call, or reuse:
<DITA OT>\xsl\xslhtml\dita2htmlImpl.xsl
<xsl:template name="generateCharset">
<!-- [NG] -->
<meta http-equiv="Content-Type" content="text/html; charset={$CHARSET}"/>
<xsl:value-of select="$newline"/>
<!-- <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/><xsl:value-of select="$newline"/> -->
</xsl:template>
Logged
Pages:
1
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> Forum Information
=> General XMetaL Discussion
=> DITA and XMetaL Discussion
=> XMetaL Tips and Tricks
=> XMetaL Announcements and Events
Loading...
email us