Marcus,
If you're still stuck on this an example of the xml file may help others
give you feedback. If you post an example file I'll give it a look.
On Thursday, January 24, 2013 6:35:53 PM UTC-6, Marcus F wrote:
>
> I'm playing around with epubs at the moment, and I'm trying to make a
> simple reader for fun.
>
> I'm using the content.opf and pulling various info, but I'm having issues
> with the metadata for author and such, because its named <dc:creator
> opf:role="aut">Donna Fernstrom</dc:creator>
>
> <cfset XMLFile = ExpandPath("book/OEBPS/content.opf") />
> <cfset MyXMLDoc = xmlParse(XMLFile) />
> <cfset BookNodes = XmlSearch(MyXMLDoc,'/:package/:spine/:itemref') />
>
> With a simple loop I'm using that to pull the pages and create links, but
> it's throwing errors when I try to use a similar code on the creator one,
> because of the : in the name..
> Needless to say I'm not that used to working with XML and it's the first
> time I'm working with XPath.
>
> Are there any XML/XPath gurus around to save my sanity? XD
>
> Marcus
>
--
--
online documentation: http://openbd.org/manual/
http://groups.google.com/group/openbd?hl=en
---
You received this message because you are subscribed to the Google Groups "Open
BlueDragon" group.
To unsubscribe from this group, send email to
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.