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

Michael Kay mhk at mhk.me.uk
Fri May 20 15:05:50 PDT 2005

Any technology that runs client-side (within the browser) relies on shipping
the XML to the client machine, and one you've done that you have lost
control over it.

The only difference between XSLT and XQuery in this regard is that XSLT is
available in the browser (well, some browsers...) and XQuery isn't.

If your XML contains confidential data, you need to transform it on the
server, which you can do using either technology.

Michael Kay

> -----Original Message-----
> From: talk-bounces at xquery.com 
> [mailto:talk-bounces at xquery.com] On Behalf Of david at lisle.ca
> Sent: 20 May 2005 03:03
> To: talk at xquery.com
> Subject: [xquery-talk] Xquery and Xslt Puzzle (newbie)
> 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
> _______________________________________________
> talk at xquery.com
> http://xquery.com/mailman/listinfo/talk

More information about the talk mailing list