Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XSLT
|
XSLT General questions and answers about XSLT. For issues strictly specific to the book XSLT 1.1 Programmers Reference, please post to that forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XSLT section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 29th, 2005, 03:33 PM
Authorized User
 
Join Date: Dec 2004
Posts: 48
Thanks: 0
Thanked 0 Times in 0 Posts
Default Can I define a new xsl page inside .XML file

All,
     I am new to XML and XSL. I hope I can get some helps or suggestions from you. Thanks!
    I am working some security issues on our web application.
    <root xmlns:sql="urn:schemas-microsoft-com:xml-sql" >
    <sql:header>
        <sql:param name="session">0</sql:param>
        <sql:param name="ip">0</sql:param>
    </sql:header>

    <sql:query>
        declare @secure int
        set @secure = UserDefineFunction( @session,@ip) --Check valide IP

        if @secure = 0
        begin
            select @secure [Valid], 'Invalid IP' [test2]
            for xml raw

            -- define new XSL page
            <!--
        Is it possible to insert a new XSL page or URL here? My purpose is to display an error message and security checks before call the stored procedure.
            -->
        end else begin

            -- execute stored procedure
        end

    </sql:query>
</root>


flyfish
__________________
flyfish





Similar Threads
Thread Thread Starter Forum Replies Last Post
How to pass the dynamic XML file name to XSL jle XSLT 3 March 13th, 2008 04:20 PM
insert in xsl template some xml file ratzko XSLT 2 January 16th, 2008 08:30 AM
Rendering HTML inside XML through XSL - HELP !!! jilly XSLT 6 May 23rd, 2007 10:36 AM
XSL to replace text in XML file neetukk XSLT 1 November 29th, 2006 05:20 AM
viewing xml inside an html file Tomi XML 1 August 2nd, 2006 05:06 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.