« Use the Gradient() function to apply a smooth gradient to a string | Main | Number to Base »

TrackBack

TrackBack URL for this entry:
http://www.typepad.com/services/trackback/6a00d8341d284e53ef00d83472d10253ef

Listed below are links to weblogs that reference Use modular XSLT to simplify importing XML data into FileMaker:

Comments

Veselko Pesut

Great article!
It helps me to start with xslt and FileMaker.

Thanx Mikhail!

Todd Geist

I am getting an error every time I try the final versions of you example files.

XSLT Error Failed to process stylesheet (, line -1, column -1)

I am using OSX FIleMaker 8

Any ideas?

Thanks

Todd

m.edoshin

Tried to do this and got the same error. It disappeared after I had reselected the XSLT stylesheet in the "Import" dialog (i.e. pressed the "Specify" button and selected the "Simple RSS import.xslt" again). Not sure what causes this.

Patrik Bergvall

Great article.

I´m never tried importing xml before but now I have an oai-pmh compliant system which from which I would like to import data into Filemaker.

I´m trying to use this as a source: http://dspace.hh.se/dspace-oai/request?verb=ListRecords&metadataPrefix=oai_dc

and applying a stylesheet but whenever I try to import, Filemaker says "empty expressions" "remaining tokens".

I don´t know what causing it. I suppose the last line in the xml output, which contains


messes everything up.

Any ideas would be greatly appreciated.

//Patrik :-)

Dwane

Great Article. I'm trying to copy the code you've got there and substitute my own xPath's for my particular xml file that I'm trying to import. (1 day old Xpath user)

It doesn't error for me now and brings up the import box with field mappings, but the problem is, it doesn't import any data or create any records.

I changed the:

to:

and also I changed the:

to:

I also downloaded the Filemaker.xslt file and edited the:



To have the "any-xpath-expression" in there.

I kinda fumbling around in the dark here...Any ideas what I'm doing wrong?

Dwane

Oops. It doesn't seem to post that code...Putting it in brackets doesn't seem to help either...Don't know what to do then....

Dwane

Hi Mikhail,

Just wondering whether you are interested in writing an XSLT for me. I can offer USD$250 for it. I can forward the XML file that I need 'parsed'for you to evaluate before you decide. I'd like to be able to understand how to modify it to add more data when the XML standard (MXML) is updated later with more variables. You should have my email from this comment. If not Here it is: dwane[a--t]hollands[dot--][--com--][---dot][a-u]. Simply remove all the dashes etc etc. Thanks.

paolo di mauro

hallo,

i'm not able to import a file including only one tag
using the two files provided

I get no errors but result of import is always 0 records

Rick Shepherd

I am trying to get values from multiples of a node in the same file.
This example finds the correct 'number' of nodes, but 'selects' the data from the first node for however many multiples of the node there are in the file.
Please help ...
thx
Rick

Mikhail Edoshin

Hello, Rick,

Please provide more information; it's best to write me an email to m.edoshin-(at)-mac.com.

Larsschulz

What is the prefered method, if I want to reexport to XML in the same format as the sourcefile. Is there a way to get the same structure (without the filemaker mumbojumbo).

Like this: Source XML goes in - Manipulation in Filemaker - Export to XML with same format as input file...

Cheers

Lars

Mikhail Edoshin

Hi Lars,

There's no automatic tool I'm aware of, although it may be possible to write one. (Also, nowadays I consider the method above to be rather awkward too, and use a much leaner one.) Here's a link to a StackOverflow question I once answered with a good example of an export stylesheet:

http://stackoverflow.com/questions/2994751/filemaker-xsl-select-column-by-name/

Feel free to drop me a note to m.edoshin-(you know what)-mac com.

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been posted. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment