11-08-2012, 12:50 PM | #1 |
Zealot
Posts: 101
Karma: 202774
Join Date: Apr 2012
Device: none
|
How neccessary is namespace?
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? |
11-10-2012, 03:32 AM | #2 |
frumious Bandersnatch
Posts: 7,514
Karma: 18512745
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 | |
|
11-10-2012, 04:02 AM | #3 |
Zealot
Posts: 101
Karma: 202774
Join Date: Apr 2012
Device: none
|
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Is Firmware update neccessary? | bookmeal | General Discussions | 3 | 09-18-2011 05:33 PM |
attribute "scheme" from namespace error in epubcheck 1.0.5 | thunderune | ePub | 15 | 06-30-2011 10:57 AM |
Adding Namespace to Stylesheet | ghostyjack | ePub | 0 | 12-07-2010 07:49 AM |
Namespace declaration | ChrisI | Sigil | 1 | 08-22-2010 06:02 AM |
Creating recipes - neccessary skills? | fcoulter | Calibre | 3 | 07-18-2010 11:55 AM |