Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 11-08-2012, 01:50 PM   #1
GraciousMe
Zealot
GraciousMe ought to be getting tired of karma fortunes by now.GraciousMe ought to be getting tired of karma fortunes by now.GraciousMe ought to be getting tired of karma fortunes by now.GraciousMe ought to be getting tired of karma fortunes by now.GraciousMe ought to be getting tired of karma fortunes by now.GraciousMe ought to be getting tired of karma fortunes by now.GraciousMe ought to be getting tired of karma fortunes by now.GraciousMe ought to be getting tired of karma fortunes by now.GraciousMe ought to be getting tired of karma fortunes by now.GraciousMe ought to be getting tired of karma fortunes by now.GraciousMe ought to be getting tired of karma fortunes by now.
 
Posts: 101
Karma: 202774
Join Date: Apr 2012
Device: none
Question 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?
GraciousMe is offline   Reply With Quote
Old 11-10-2012, 04:32 AM   #2
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 6,327
Karma: 4964183
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.
Jellby is offline   Reply With Quote
 
Advertisement
Old 11-10-2012, 05:02 AM   #3
GraciousMe
Zealot
GraciousMe ought to be getting tired of karma fortunes by now.GraciousMe ought to be getting tired of karma fortunes by now.GraciousMe ought to be getting tired of karma fortunes by now.GraciousMe ought to be getting tired of karma fortunes by now.GraciousMe ought to be getting tired of karma fortunes by now.GraciousMe ought to be getting tired of karma fortunes by now.GraciousMe ought to be getting tired of karma fortunes by now.GraciousMe ought to be getting tired of karma fortunes by now.GraciousMe ought to be getting tired of karma fortunes by now.GraciousMe ought to be getting tired of karma fortunes by now.GraciousMe ought to be getting tired of karma fortunes by now.
 
Posts: 101
Karma: 202774
Join Date: Apr 2012
Device: none
Quote:
Originally Posted by Jellby View Post
As far as I know, it is only needed in the <html> tag, but not elsewhere.
Thanks, Jellby.

Seems changing namespace because of a short quote is overkill then.
GraciousMe is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

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


All times are GMT -4. The time now is 09:49 AM.


MobileRead.com is a privately owned, operated and funded community.