Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

XML Error Scenarios

Featured Replies

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

"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

  • 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

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.