TBaker Posted July 19, 2012 Posted July 19, 2012 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
comment Posted July 19, 2012 Posted July 19, 2012 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.
beverly Posted July 28, 2012 Posted July 28, 2012 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
TBaker Posted August 8, 2012 Author Posted August 8, 2012 Thanks a lot Beverly (& comment), it's very much appreciated.
Recommended Posts
This topic is 4558 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 accountSign in
Already have an account? Sign in here.
Sign In Now