Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need help with eBook clean up of content.opf

Status
Not open for further replies.

MarcusStringer

IS-IT--Management
Sep 11, 2003
1,407
AU
Hi Guys, I know this is probably the wrong forum to post this, but...seeing as ebooks deal with XHTML+CSS I was hoping someone might know...(was advised to come to this one after post the same thing in the XHTML & CSS thread)

I'm having alot of:
"content.opf(67): duplicate resource:"
errors, after creating an epub from InDesign CS3

I can manually delete this image references which fix the problem, but there could be 1000 of them...
here is a screen grab...I've put red dots next to the line that the shouldn't be there...
So for every image in the job it InDesign will duplicate it for every xhtml and so...

eg If you have 10 xhtml files each with 10 images then those 100 image would be duplicated 10 times and throw up that error message....

Picture1-25.png



Marcus
 
[0] I am tempted to refer you to our InDesign forum. However, a scan of your profile shows that you're an InDesign expert in your own right, so I guess you have some reason not to post there?!

[1] If it is that there are duplicated id everywhere in the item tags, maybe you can pre-process the xml by an xslt process to eliminate the duplicated element. Or that there are duplicated href, the solution can also be conceived with xslt, just a different kind of construction. One way of another, depending on how you want to make good the xml, under the condition that a pre-processing is possible, that can be done.

[1.1] This is an article (extract of a book) in the adobe site on xslt:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top