943,680 Members | Top Members by Rank

Ad:
Feb 4th, 2009
0

Passing special characters from java to XSL throgh data XML

Expand Post »
Folks,

I am using xsl and xml for Report generation. In XSL I have created a table which has 6 columns and say 7 rows, in 6th column of each row I want to display multiple rows again. For this I am thinking of passing new line character after particular length of data in that XML field.
(Note that data XML is getting generated through JAVA, and my XSL is using this Data xml for generating PDF report.) I want to ask, is there any way we can pass new line character in the field of data xml through java code, If yes what will be the new line character and how can we create a data field in xml for it.

Thanks in advance,
Rahul
Reputation Points: 10
Solved Threads: 0
Newbie Poster
rahulrborkar is offline Offline
2 posts
since Feb 2009
Feb 7th, 2009
0

Re: Passing special characters from java to XSL throgh data XML

You could use 

Reputation Points: 22
Solved Threads: 11
Junior Poster
fpmurphy is offline Offline
144 posts
since Oct 2008
Feb 9th, 2009
0

Re: Passing special characters from java to XSL throgh data XML

Thanks for Replying,

I have tried using that from JAVA code, I have passed 
 in XML field to data XML, Its getting displayed in Data XML also, but XSL gives error to it.

Regards,
Rahul
Reputation Points: 10
Solved Threads: 0
Newbie Poster
rahulrborkar is offline Offline
2 posts
since Feb 2009

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in XML, XSLT and XPATH Forum Timeline: XML to XML transformation
Next Thread in XML, XSLT and XPATH Forum Timeline: Creating List in XSLT





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC