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.

Cannot find declaration of element problem

Featured Replies

Cannot find declaration of element problem

I seem to be having a problem working with and importing a xml file. I believe it has to do with the beginning 2nd line. It seem to be goofing up FMP XML imports.

<?xml version="1.0" encoding="UTF-8"?>

......and lots more xml........

with this file in Exchanger xml

I get a "Cannot find declaration of element 'GetCategoriesResponse' "

When I remove the "xmlns="urn:ebay:apis:eBLBaseComponents"

and use it as such

<?xml version="1.0" encoding="UTF-8"?>

......and lots more xml........

my fmp xml stylesheets work as expected.

My question am I doing something wrong and I should be able to work with this or should I be doing something different and what should I be doing.

NOTE

It was Beverlys book that has been a big help on my xsl trip. And helping me find a problem even if I have yet to overcome it.

Thanks

Joe

There's a space in

GetCategoriesResponse xmlns="urn:ebay:apis:eBLB aseComponents"

Is this allowable? Sorry I know very little about xml, but it looks odd to me.

You probably have to declare the namespace in the XSLT.

Hard to tell without seeing the XSLT...

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.