Results 1 to 2 of 2
- 04-04-2009, 07:11 AM #1
Member
- Join Date
- Aug 2008
- Location
- Riyadh - Saudi Arabia
- Posts
- 15
- Rep Power
- 0
how set xxx.xsl file to transform the xml file in client-side
hi
I wrote a servlet that out an xml file.Now I want to set the xxx.xsl file to transform the xml file in client-side[browser].
just i want to add the bold tag:
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" herf="xxx.xsl"?>
<page>
</page>
how?
- 04-26-2009, 12:00 AM #2
Senior Member
- Join Date
- Mar 2009
- Location
- USA
- Posts
- 127
- Rep Power
- 0
In order for xslt file to display in browser, first time you have to do include stylesheet type and href in XML file, the way u have done.(check herf spelling..shd have been href).
Then, create a Xslt file and using the match attribute in XSLT file,
u can display the things u want from XML. U can choose the elements u want from entire XML and display it.
Similar Threads
-
How to open a file located in server from client side
By Malathi in forum Web FrameworksReplies: 4Last Post: 04-20-2009, 09:10 PM -
Copy a .swf file from server side to client using signed applet
By Imoracle in forum Java AppletsReplies: 2Last Post: 10-05-2008, 06:13 PM -
How to transform the UTF 8 xml file into csv file?
By veera in forum XMLReplies: 0Last Post: 11-14-2007, 05:30 AM -
jsp program for client side printer to print these 2 strings on 3/3
By for453 in forum JavaServer Pages (JSP) and JSTLReplies: 0Last Post: 08-07-2007, 04:42 PM -
How to implement secure connection(HTTPs) in client side
By vicky in forum NetworkingReplies: 6Last Post: 07-18-2007, 03:15 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks