Jump to content
Server Maintenance This Week. ×

Help Importing xisbn.worldcat XML into filemaker


parisbubbler

This topic is 4405 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies

I need help importing xisbn worldcat xml data into filemaker.

Here is a sample of the xml returned from http://xisbn.worldcat.org/webservices/xid/isbn/9780230418899?method=getMetadata&format=xml&fl=*

<rsp xmlns="http://worldcat.org/xid/isbn/" stat="ok">

<isbn oclcnum="726087703 751704411" form="BC" lang="eng" title="Mastermind." author="Mickey Rogers, Steve Taylore-Knowles, Dorothy E. Zemach ; concept development: Mariela Gil Vierma." publisher="Macmillan" city="Oxford" url="http://www.worldcat.org/oclc/726087703?referer=xid">9780230418899</isbn>

</rsp>

I need to extract :

Title

Author

Publisher

ISBN

Year

I don't know XML or XSL.

Can anyone give me an insight or provide me with an example file so I can see how this is done. Any help would be greatly appreciated.

Thanks,

Stuart

Link to comment
Share on other sites

  • 3 weeks later...
  • Newbies

darn I hoped and prayed that I wouldn't run into any problems with using Windows with FM (I used to work with FM on a mac) ggrrr. Ok I'll look into other ways to open the attachment -- this answer seems to be the closes I've found to trying to extract data from an internet based library catalog into FM

Link to comment
Share on other sites

  • Newbies

I tried opening this file on my Windows XP computer, it did not work on that computer either. I've tried unblocking the file, downloading it from IE and Firefox, and turning off my antivirus. None of these actions have worked. In the original file, or when creating the zip did you ever use/enter a password? Otherwise maybe you could elaborate on instructions on how to extract data like title, author, subject, etc from online library catalogs (like Worldcat or Library of Congress).

Link to comment
Share on other sites

I have just now downloaded archive file and extracted the contents without a problem. I really don't know how I can overcome this issue. The archive contains only a XSLT stylesheet to be used when importing from the WorldCat XML source. I'll paste the contents of the file below, but the forum software is not very friendly to XML code.

<?xml version="1.0" encoding="UTF-8"?>

<xsl:stylesheet version="1.0"

xmlns:xsl="http://www.w3.org/1999/XSL/Transform"

xmlns:xid="http://worldcat.org/xid/isbn/"

exclude-result-prefixes="xid">

<xsl:output method="xml" version="1.0" encoding="utf-8" indent="yes"/>

<xsl:template match="/">

<FMPXMLRESULT xmlns="http://www.filemaker.com/fmpxmlresult">

<ERRORCODE>0</ERRORCODE>

<PRODUCT BUILD="" NAME="" VERSION=""/>

<DATABASE DATEFORMAT="" LAYOUT="" NAME="" RECORDS="" TIMEFORMAT=""/>

<METADATA>

<FIELD EMPTYOK="YES" MAXREPEAT="1" NAME="Title" TYPE="TEXT"/>

<FIELD EMPTYOK="YES" MAXREPEAT="1" NAME="Authors" TYPE="TEXT"/>

<FIELD EMPTYOK="YES" MAXREPEAT="1" NAME="Publisher" TYPE="TEXT"/>

<FIELD EMPTYOK="YES" MAXREPEAT="1" NAME="ISBN" TYPE="TEXT"/>

<FIELD EMPTYOK="YES" MAXREPEAT="1" NAME="Year" TYPE="NUMBER"/>

</METADATA>

<RESULTSET FOUND="">

<xsl:for-each select="xid:rsp/xid:isbn">

<ROW MODID="" RECORDID="">

<COL><DATA><xsl:value-of select="@title" /></DATA></COL>

<COL><DATA><xsl:value-of select="@author" /></DATA></COL>

<COL><DATA><xsl:value-of select="@publisher" /></DATA></COL>

<COL><DATA><xsl:value-of select="." /></DATA></COL>

<COL><DATA><xsl:value-of select="@year" /></DATA></COL>

</ROW>

</xsl:for-each>

</RESULTSET>

</FMPXMLRESULT>

</xsl:template>

</xsl:stylesheet>

Edited by comment
Link to comment
Share on other sites

I tried opening this file on my Windows XP computer, it did not work on that computer either. I've tried unblocking the file, downloading it from IE and Firefox, and turning off my antivirus. None of these actions have worked. In the original file, or when creating the zip did you ever use/enter a password? Otherwise maybe you could elaborate on instructions on how to extract data like title, author, subject, etc from online library catalogs (like Worldcat or Library of Congress).

Download 7-Zip - Download.com for windows.

I had the same problems with a file Comment did for me an his Mac. The Windows unzipper just doesn't like them .....

Link to comment
Share on other sites

This topic is 4405 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.