Thread: xmlns:epub=""
View Single Post
Old 07-05-2022, 09:47 PM   #1
Karellen
Wizard
Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.Karellen ought to be getting tired of karma fortunes by now.
 
Karellen's Avatar
 
Posts: 1,613
Karma: 9500498
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
xmlns:epub=""

When creating a new xhtml page in a epub v3.0 file, the following code is automatically added to the page...

PHP Code:
<?xml version='1.0' encoding='utf-8'?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <title>The Third Option</title>
  <link type="text/css" rel="stylesheet" href="OEBPS/Styles/stylesheet.css"/>
</head>

<body>
    
</body>
</html>
Is it possible to modify this so that it also automatically adds the following to the <html> tag...

PHP Code:
xmlns:epub="http://www.idpf.org/2007/ops" 
Thank you
Karellen is offline   Reply With Quote