[xquery-talk] Xquery and Xslt Puzzle (newbie)

david at lisle.ca david at lisle.ca
Fri May 20 03:02:33 PDT 2005




Hello,

   I am seeking an opinion on what it is that I may be doing wrong in 
displaying the contents of an xml file on my website using either xslt or 
xquery.


   When I use the xsl template I get exactly the results I desire. However, 
when I select the "View Source" option in my browser I see the raw xml file. 
And of course so would anyone else, this is highly undesireable as some of 
the xml files content is not intended to be seen by anyone as there is a 
privacy issue. The content is in place for identification purposes and should 
I remove it I lose a lot of control.

   I thought that perhaps xquery could help because I noticed it only output 
html, at least in the Stylus program I used to develop the code/query. 
However, I cannot seem to figure out how to use the xquery on the website. 
Any hint to steer me in the right direction would be great. I am missing 
something.

Thanks all

David



More information about the talk mailing list