Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

Help with Style sheet with repeating tags


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

Recommended Posts

Posted

I am hoping someone can guide me with my stylesheet for the attached xml.

I want the "Comp" (which are real estate comparable sales) to import into separate records.

The import routine recognizes the mapping just fine, and I get no errors on import... except no data imports.

The second Test.xml is a corrected version.

Test.xml

Test.xsl.txt

Test.xml

Posted

Use the second Test.xml as an example. I dont know how to delete the first one

Posted

Change this:

<xsl:for-each select="*/comp">




to this:


<xsl:for-each select="//comp">




or even better:


<xsl:for-each select="response/properties/comparables/comp">








BTW, you can simplify this (and the other two):


<xsl:value-of select="./address/street"/>




to:


<xsl:value-of select="address/street"/>

Posted


  • Awesome. Did the trick (wish I knew the foundations). Thanks

Posted

Comment.... can you tell me how to grab the "score" which is an attribute of comp tag?

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