[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: URL parameters in xsl
> Thanks for all your replies. None of these solutions work though. the > xsl file won't recognise the url - is this because it's generated from > an .asp file! You haven't given anyone anything like enough information to answer your questions. Your first question appeared just to be about string handling, > I desperately need a way to extract the uid parameter from a URL > (eg. http://192.168.22.105/default.asp?uid=2) a which answer is just to use substring-before and substring-after to get 192.168.22.105. XSLT only uses a URL as a URL in the document() function to access an input XML file. XSLT in that case wil just make ann http get request and parse what comes back as xml, so it doesn't matter what technology on the server generates taht result, asp (xslt, jsp, ...) David ________________________________________________________________________ This e-mail has been scanned for all viruses by Star Internet. The service is powered by MessageLabs. For more information on a proactive anti-virus service working around the clock, around the globe, visit: http://www.star.net.uk ________________________________________________________________________ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|