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

Importing XML error on attiribute "xmlns"


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

Recommended Posts

Posted

Hi,

I have to import data directly from xml scheme below:

<?xml version="1.0" encoding="iso-8859-9" standalone="yes"?>







	

		1

		07B01AD05AC0000001

		Travma

		

		

		

	

	

		2/KalemId>

		07B01AD05AC0000001

		Baska

		

		

		

		





I have modify example rss import xsl file to import from my xml file. XSL file content is beleow:




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



	

	

	

	



	0

	

	

	

		

		

		

		

		

	

	

		

			

				

			

		

			

			

			

			

			

			

		

		

	



	

But when I try to import this xml file, FMP gives error; XML parsing error: Invalid Document Structure

If I delete xmlns attribute from dsKik tag (shown in below) it imports without problem.

->

How can I solve this problem. I do not have right to change current xml structure.

Thanks

Osman Cabi

Posted

You need to declare the namespace and give it a prefix of your choice. You must also instruct the style sheet to exclude your chosen prefix from the result tree.

After that is done, you refer to objects in the source document by their qualified name, i.e. using the declared prefix together with the name.

See the attached.

kik.xsl.zip

This topic is 5872 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.