Carl Smith Posted February 10, 2007 Posted February 10, 2007 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
Fenton Posted February 10, 2007 Posted February 10, 2007 "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
Carl Smith Posted February 10, 2007 Author Posted February 10, 2007 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
Recommended Posts
This topic is 6494 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