Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Exporting XML data.

Status
Not open for further replies.

DerbyNeal

Programmer
May 12, 2005
22
0
0
GB
I am using XML Version 1.0
in Windows 2000 and XP.

I am converting XML output from Crystal Reports (version 10).

Having produced successful xml output in XMLSpy using a prefix (thanks to previous advise from Michael Kay), I have since found that a third party 'message router' application will not approve the crystal reports namespace.

Code:
<FormattedReport xmlns="urn:crystal-reports:schemas" xmlns:xsi="[URL unfurl="true"]http://www.w3.org/2000/10/XMLSchema-instance">[/URL]
	<FormattedAreaPair Level="0" Type="Report">
		<FormattedArea Type="Header">
			<FormattedSections>
				<FormattedSection SectionNumber="0">
					<FormattedReportObjects>
						<FormattedReportObject xsi:type="CTFormattedField" Type="xsd:string" FieldName="{CUSTOMER.CONTACT}">
							<ObjectName>CONTACT1</ObjectName>
etc....

I'm guessing that it is the 'urn:crystal-reports:schemas' that the router is having problems, as this is not a (system) recognised namespace for xmlns. Is there anyway of automating an alternative namespace within the output?

Has anyone come across this problem before?

Thanks in advance,

Neal
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top