[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: avoiding XML code in viewsource

  • From: Joel Rees <rees@s...>
  • To: Venugopal Siripuram <svenu@w...>
  • Date: Thu, 17 May 2001 11:07:16 +0900

view source
Mr. Venugopal Siripuram:

The surest way to avoid showing your XML source code is to convert it to
HTML (or XHMTL?) before your browser gets it.

There may be a setting somewhere in the browser to switch between showing
source before conversion and showing it after.

When I started a project a couple of months ago, using only XSLT, IE would
always show me the XML source. Even after I started using DOM (calling
Microsoft's library from Delphi) to pre-filter the output, I think I recall
using IE's view source to look at the program output. Sometime later, I went
to view source in IE and got the converted HTML source, instead. I don't
know why, although I am sure I will eventually find out. (Maybe someone on
the list knows?) Fortunately, I was able to use a different path to do the
debugging.

Anyway, if you need security, I would suggest that you should not rely on
some (non-standard?) XSLT switch to turn off the show-source function. Use
DOM or something else to at least filter out the sensitive stuff before you
hand it off to the browser.

(Other opinions?)

Joel Rees

============================XML as Best Solution===
Joel Rees                          $B%j!<%9!!%8%g%(%k(B
Media Fusion Co.,Ltd.  $B3t<02q




PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.