Jump to content

help importing xml


mlindal

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

Recommended Posts

I am new to xml importing:

I have a whole bunch of data that is in the following format:

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

This song

This guy

And I used a filemaker xsl stylesheet that matches the fields but enters no data.

The trouble lies in that the data I have has no designation. So in the xsl - I delete a foreach in the first segment that now connects the fields but enters no data. I am sure there is an easy solution to help me - so if an expert could take a few seconds and point out the error - I would really appreciate it.

here is the xsl:

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

0

YES

1

TEXT

0

0

<

Link to comment
Share on other sites

Rather than using the "generic"

specify the field names (in your database -- which don't even have to be the same as the elements!)

and

Use the actual name of the "repeating" element, in this case "". Since there is no root element (which should be "songs"), instead of for-each, use a template match and it won't care.

...

place your ROW, COL & DATA statements here

...

Link to comment
Share on other sites

This topic is 6515 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.