|
|
#1 |
|
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 101
Karma: 202774
Join Date: Apr 2012
Device: none
|
Here and there my book has this code:
<body xml:lang="SV" xmlns:xml="http://www.w3.org/XML/1998/namespace"> In a few instances I have a quote in English (the book is in Swedish), in those places Sigil inserts bamespace code. Is that really neccessary or can I dump namespace? |
|
|
|
|
|
#2 |
|
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,571
Karma: 20150435
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
As far as I know, it is only needed in the <html> tag, but not elsewhere. From the XHTML 1.1 spec:
The start tag of the root element of the document MUST explicitly contain an xmlns declaration for the XHTML namespace. The namespace URI for XHTML is defined to be http://www.w3.org/1999/xhtml. and of course, the "root element" is the <html> tag. |
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 101
Karma: 202774
Join Date: Apr 2012
Device: none
|
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Is Firmware update neccessary? | bookmeal | General Discussions | 3 | 09-18-2011 06:33 PM |
| attribute "scheme" from namespace error in epubcheck 1.0.5 | thunderune | ePub | 15 | 06-30-2011 11:57 AM |
| Adding Namespace to Stylesheet | ghostyjack | ePub | 0 | 12-07-2010 08:49 AM |
| Namespace declaration | ChrisI | Sigil | 1 | 08-22-2010 07:02 AM |
| Creating recipes - neccessary skills? | fcoulter | Calibre | 3 | 07-18-2010 12:55 PM |