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

Re: Converting XML to an Escacped URL

Subject: Re: Converting XML to an Escacped URL
From: Colin Paul Adams <colin@xxxxxxxxxxxxxxxxxx>
Date: 30 Oct 2005 18:13:24 +0000
Re:  Converting XML to an Escacped URL
>>>>> "Gary" == Gary Stewart <the.stewarg@xxxxxxxxx> writes:

    Gary> Hi there, I was attempting to convert an XML document into
    Gary> an escaped URL to send over a HTTP get and couldn't find a
    Gary> very good solution and was wondering if anyone has designed
    Gary> or had any thoughts to the design of a stylesheet that could
    Gary> do this. I don't mind if I use version 1.0 or 2.0. I figured
    Gary> that a character map might be the answer for any spaces but
    Gary> I'm still not certain how I can change tags into escaped
    Gary> characters unless there is a good way to get a nodeset as a
    Gary> string then use escape-uri on it.

I don't understand your requirement - do you mean you want to create a
data: URI of your document - it will have to be quite a short document, 
as the HTTP GET protocol limits you to a little over 1000 characters.

Anyway, you have 3 functions in XPath 2.0 for escaping characters.
I take it you are using XML 1.1?
-- 
Colin Adams
Preston Lancashire

Current Thread

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
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.