Print Page | Close Window

Crystal Report using XML file

Printed From: Crystal Reports Book
Category: Crystal Reports for Visual Studio 2005 and Newer
Forum Name: Report Design
Forum Discription: The best way to design a report and problems you have encountered
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=12875
Printed Date: 28 Apr 2024 at 10:33pm


Topic: Crystal Report using XML file
Posted By: kamrocks12
Subject: Crystal Report using XML file
Date Posted: 11 Apr 2011 at 5:50am
Hi,

I want to create dynamic crystal report using below mention xml file.

Example:--

<?xml version="1.0" encoding="utf-8"?>
<root xmlns:inl="http://inline">
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://inline" xmlns="http://inline" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:element name="Person">
<xs:complexType>
<xs:sequence>
<xs:element name="First_Name" type="xs:string"/>
<xs:element name="Last_Name" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
<inl:Person>
<inl:First_Name>Anna</inl:First_Name>
<inl:Last_Name>Ant</inl:Last_Name>
</inl:Person>
<inl:Person>
<inl:First_Name>Betty</inl:First_Name>
<inl:Last_Name>Boop</inl:Last_Name>
</inl:Person>
</root>

Crystal report column will be generated using this xml file.
my report look like--

First Name Last Name
Anna Ant
Betty Boop



-------------
praveen



Print Page | Close Window