Query the DOM in the opf file with namespaced lookups

#8 Open
Repository
arthurdarcet
Branch
default
Repository
exirel
Branch
default

Bitbucket cannot automatically merge this request.

The commits that make up this pull request have been removed.

Bitbucket cannot automatically merge this request due to conflicts.

Review the conflicts on the Overview tab. You can then either decline the request or merge it manually on your local system using the following commands:

hg update 
hg pull -r default https://bitbucket.org/arthurdarcet/epub
Author
  1. arthurdarcet
Reviewers
Description

So that we can handle this kind of (valid) opf file:

<?xml version='1.0' encoding='UTF-8' ?>
<O:package version="2.0" unique-identifier="i" xmlns:O="http://www.idpf.org/2007/opf" xmlns:D="http://purl.org/dc/elements/1.1/">
  <O:metadata>
    <D:identifier id="i" O:scheme="ISBN">9781312393882</D:identifier>
  </O:metadata>
  <O:manifest>
    <O:item id="it" href="it.html" media-type="application/xhtml+xml" />
  </O:manifest>
  <O:spine toc="ncx">
    <O:itemref idref="it" />
  </O:spine>
</O:package>

Comments (0)