TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Nalini Mishra
NA
18
30.2k
creating pdf using c#, xml and itextsharp
Sep 17 2012 1:53 PM
How to create pdf from an xml file using itextsharp in c#.
My xml file is as follows:
<?xml version="1.0" encoding="utf-8" ?>
<Report>
<Header>
<Date>Sep-11-2012</Date>
<Patient_ID>P001</Patient_ID>
<PatientName>Brahma Acharya</PatientName>
<Address>BBSR</Address>
<Contact_No>99372 85710</Contact_No>
<DOB>Mar-26-2012</DOB>
<Sex>Male</Sex>
<Height>65 inches</Height>
<Weight>75 Kg</Weight>
<Blood_Pressure>120/80 mm Hg</Blood_Pressure>
</Header>
<Tests>
<Test ID = "01">
<Field_Name>Fasting Blood Sugar</Field_Name>
<Field_Value>85.0</Field_Value>
<Unit>mg/dl</Unit>
<Normal_Range>70.0 - 110.0</Normal_Range>
</Test>
<Test ID = "02">
<Field_Name>S. Urea</Field_Name>
<Field_Value>26.0</Field_Value>
<Unit>mg/dl</Unit>
<Normal_Range>15.0 - 40.0</Normal_Range>
</Test>
<Test ID = "03">
<Field_Name>Eye Color</Field_Name>
<Field_Value>Black</Field_Value>
<Unit></Unit>
<Normal_Range>Black</Normal_Range>
</Test>
</Tests>
</Report>
The header part is the header of the document and Tests should be in table format.
Thanks
Nalini
Reply
Answers (
9
)
How can we calculate average in crosstab report ?
DISPLAYING RECORD IN OTHER FORM IN CRYSTAL REPORTS