![]() |
#16 | ||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,196
Karma: 1281258
Join Date: Sep 2009
Device: PRS-505
|
Quote:
Quote:
Alternatively, you can apply an XSLT to the XML in Word. I've attached a very simple one which will just convert the declaration to html. Browse to it in the XML Data Views pane (again, this in Word 2007; 2003 may be different) and apply it to see the document without tags (though Word seems incapable of retrieving style info from an external css in this mode). In general, it's easiest just to strip the xml declaration if you want to edit these files in Word. |
||
![]() |
![]() |
![]() |
#17 |
Reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 520
Karma: 24612
Join Date: Aug 2009
Location: Utrecht, NL
Device: Kobo Aura 2, iPhone, iPad
|
|
![]() |
![]() |
Advert | |
|
![]() |
#18 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,196
Karma: 1281258
Join Date: Sep 2009
Device: PRS-505
|
|
![]() |
![]() |
![]() |
#19 |
Reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 520
Karma: 24612
Join Date: Aug 2009
Location: Utrecht, NL
Device: Kobo Aura 2, iPhone, iPad
|
I see. In that case it makes many more (syntactic) changes to let it look more like HTML instead of XHTML.
|
![]() |
![]() |
![]() |
#20 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,196
Karma: 1281258
Join Date: Sep 2009
Device: PRS-505
|
Firefox will do a few tidying operations such as adding an http-equiv entry if the input doesn't have one and converting some empty tags like <p/> to <p></p>. But it doesn't modify fragment identifiers, which could trip up some user agents. Firefox doesn't interpret <br></br> correctly and therefore messes up the output, but that's a fairly unlikely construct (though valid in xml).
|
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Editing problems | Brientje | ePub | 14 | 10-05-2010 06:22 AM |
Need help on Sony cache.xml | janpardo | Reading and Management | 0 | 05-24-2010 08:22 AM |
Question about editing documents once they are in Calibre | ficbot | Calibre | 4 | 09-10-2009 09:58 PM |
Why xml?? | real_yoni | Sony Reader Dev Corner | 1 | 01-20-2009 11:45 AM |
PRS-500 Available XML commands | johnmcelfresh | Sony Reader Dev Corner | 0 | 08-18-2007 01:55 PM |