Jump to content
Server Maintenance This Week. ×

Help with Stylesheet


TBaker

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

Recommended Posts

Hi Everyone,

I'm having a difficult time trying to create a stylesheet to convert the attached XLM file to Filemaker format. (full disclosure, I have never created one before but after spending hours looking through this and many other websites, I seem to be stuck). Would really appreciated any help any of you could provide. (ps- the XLST file wouldn't upload, so I saved it as a .txt instead)

Thanks a lot!

Notification.xml

Notification.txt

Link to comment
Share on other sites

I have only glanced at your stylesheet, but one thing jumps out immediately: XML is case-sensitive. If you opened a FMPXMLRESULT element, it will not closed by a </fmpxmlresult> tag. And, IIRC, all of FMPXMLRESULT grammar is upper-case.

Link to comment
Share on other sites

  • 2 weeks later...

Your notification.xml is NOT valid XML. it has no prolog "<?xml..." it has two end elements with no beginning element "</photo>", "</signature>".

Your XSLT is not valid, as Comment says it's *very* case sensitive.

You also had the for-each loop in the wrong place.

I cleaned up what I could. See if this helps. (zipped, so they could be uploaded - also includes the FMP file created from the import)

Beverly

Notification.zip

Link to comment
Share on other sites

  • 2 weeks later...

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