cancel
Showing results for 
Search instead for 
Did you mean: 

Crystal Report using XML file

Former Member
0 Kudos

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

Thanks

Praveen

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

Not possible. CR requires interact with the data source through the Designer. If you have a Developer available you can use RAS to do report creation. Check the .NET Crystal Reports forum for more info and samples.

Former Member
0 Kudos

besides creating a report, what do you need to do exactly?

Former Member
0 Kudos

Hi,

Currently i am using drag and drop field in Crystal report which i want to omit

I want to generate Crystal report automatically using XML file.

Former Member
0 Kudos

can you please be more detailed on what you mean automatically

like put the xml file together and have the report generated without actually attaching the dataset to the rpt file and placing the fields in the report?

if that is the case i dont believe crystal functions that way, been working with it for many years. i know you can create webi files through business objects where an end user can talk an dataset and build there own queries and rpt files on a dashboard type screen.