Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

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

Posted

"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

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 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.