EDN Admin
Well-known member
Hi,
I am trying to parse epub3 and until now I was using xsd (to parse some files and now I would like to parse the table of content.<br/>
The rules for this toc file are described from what I understand by 3 files available here :
http://code.google.com/p/epub-revision/source/browse/trunk/build/schema/epub-nav-30.nvdl?r=2700" style="color:blue; white-space:nowrap; font-family:arial,sans-serif; font-size:13px; line-height:normal epub-nav-30.nvdl<br/>
http://code.google.com/p/epub-revision/source/browse/trunk/build/schema/epub-nav-30.rnc?r=2700" style="color:blue; white-space:nowrap; font-family:arial,sans-serif; font-size:13px; line-height:normal epub-nav-30.rnc<br/>
http://code.google.com/p/epub-revision/source/browse/trunk/build/schema/epub-nav-30.sch?r=2700" style="color:#000099; white-space:nowrap; font-family:arial,sans-serif; font-size:13px; line-height:normal epub-nav-30.sch
but is it possible to create a xsd that can parse those nav files ?
If not what is the solution to parse it ?
http://code.google.com/p/epub-revision/source/browse/trunk/build/schema/epub-nav-30.rnc?r=2700" style="color:blue; white-space:nowrap; font-family:arial,sans-serif; font-size:13px; line-height:normal
http://code.google.com/p/epub-revision/source/browse/trunk/build/schema/epub-nav-30.nvdl?r=2700" style="color:blue; white-space:nowrap; font-family:arial,sans-serif; font-size:13px; line-height:normal
What I want to do is to create a nested data structure to represent this toc.
View the full article
I am trying to parse epub3 and until now I was using xsd (to parse some files and now I would like to parse the table of content.<br/>
The rules for this toc file are described from what I understand by 3 files available here :
http://code.google.com/p/epub-revision/source/browse/trunk/build/schema/epub-nav-30.nvdl?r=2700" style="color:blue; white-space:nowrap; font-family:arial,sans-serif; font-size:13px; line-height:normal epub-nav-30.nvdl<br/>
http://code.google.com/p/epub-revision/source/browse/trunk/build/schema/epub-nav-30.rnc?r=2700" style="color:blue; white-space:nowrap; font-family:arial,sans-serif; font-size:13px; line-height:normal epub-nav-30.rnc<br/>
http://code.google.com/p/epub-revision/source/browse/trunk/build/schema/epub-nav-30.sch?r=2700" style="color:#000099; white-space:nowrap; font-family:arial,sans-serif; font-size:13px; line-height:normal epub-nav-30.sch
but is it possible to create a xsd that can parse those nav files ?
If not what is the solution to parse it ?
http://code.google.com/p/epub-revision/source/browse/trunk/build/schema/epub-nav-30.rnc?r=2700" style="color:blue; white-space:nowrap; font-family:arial,sans-serif; font-size:13px; line-height:normal
http://code.google.com/p/epub-revision/source/browse/trunk/build/schema/epub-nav-30.nvdl?r=2700" style="color:blue; white-space:nowrap; font-family:arial,sans-serif; font-size:13px; line-height:normal
What I want to do is to create a nested data structure to represent this toc.
View the full article