February 10, 200718 yr I've recently been given an insight into using stylesheets and using a stylesheet that works perfectly have tried to replicate it against another XML file but I'm now getting x2 scenarios. Scenario1: When importing the Version 1 files into FP I get this error message, Expected ,,but found: id pattern = 'count(deletions/deleted id)' (ServerFolderDeletions1.xsl,17,53) Remaining tokens: ('id'')') I think this message has been caused by a space in the field "deleted id". However, after doing a find and replace on these I now get, Scenario2: When importing the Version 2 files the import proceeds as normal but no records are imported. Import Summary indicates all lines are zero (and cannot scroll through records when mapping the fields) I've attached these files and hope someone can help. DeletionsForum.zip
February 10, 200718 yr "id" is an "attribute", not an element. Spaceas are not allowed in an element or attribute name. This is the form of an element with an attribute: element value The way that you retrieve an attribute value is with the "@" syntax. Also, the for-each is for 0 Deletions1.xsl.zip
February 10, 200718 yr Author Hi Fenton You're a star! I know I'll have to do a little more learning on this subject but you've just got me out of a jam. I owe you. Best Wishes Carl
Create an account or sign in to comment