aspose file tools*
The moose likes XML and Related Technologies and the fly likes xsl code for displaying xml data ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "xsl code for displaying xml data ?" Watch "xsl code for displaying xml data ?" New topic
Author

xsl code for displaying xml data ?

Priyadarshini Anand
Greenhorn

Joined: Jun 02, 2004
Posts: 22
I want to display value of description in the same format as it is in xml.
I am using xsl to display xml.Otherwise we use <xsl: value-of select="description" />. But in this case what I should use ?

pl help me.




<description>




Line Event Result Details Time

------------------------------------------------------------------------------
42 start run run A_Uitests 00:00:00
51 System Msg: --- set synchronization_timeout : 900000:00:00
55 System Msg: --- set delay_msec : 50000:00:00
56 System Msg: --- set cs_fail : 0 00:00:00
57 System Msg: --- set drop_sync_timeout : off00:00:00
207 property check pass Browser Main Window:class00:00:20
69 tl_step --- Step: Identification Type, Status: Pass, Description: Trading Partner Identification Type MyIdentification Type successfully created.00:00:44
663 stop run pass A_Uitests 00:00:49


-----------------------Error code 3049-----------------------



</description>



Priya
Priyadarshini Anand
Greenhorn

Joined: Jun 02, 2004
Posts: 22
I got the solution , using <pre> we can display.

Thanks,
Priya
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: xsl code for displaying xml data ?