aspose file tools*
The moose likes XML and Related Technologies and the fly likes text/plain & text/html 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 "text/plain & text/html" Watch "text/plain & text/html" New topic
Author

text/plain & text/html

Grace Lo
Greenhorn

Joined: May 03, 2001
Posts: 12
Hi,
I am using XML and XSL with xalan to show a DOM tree from a browser.
I would allow users to pick eith HTML or plain format at run time.
By using response.setContentType("text/plain" );
or response.setContentType("text/html" );
seems look the same from my browser.
Do I need to write different XSL files like taking out all html tags?
Thanks,
Grace

Grace
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: text/plain & text/html