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

RE: doc() concat expression and whitespace error

Subject: RE: doc() concat expression and whitespace error
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Tue, 16 Nov 2004 03:36:09 -0000
whitespace error messages
For ASCII characters the %HH escape code is simply the ASCII numeric value
as two hex digits. 

Michael Kay

> -----Original Message-----
> From: Bruce D'Arcus [mailto:bdarcus@xxxxxxxxxxxxx] 
> Sent: 16 November 2004 03:23
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re:  doc() concat expression and whitespace error
> 
> 
> On Nov 15, 2004, at 9:40 PM, Michael Kay wrote:
> 
> > select='doc(concat("http://localhost:8080/exist/servlet/db/mods? 
> > _query=",
> > "/mods:modsCollection/mods:mods[@ID=&apos;", ., "&apos;]"))'/>
> 
> OK, that works; thanks!
> 
> > But since the apostrophe is actually a character appearing 
> in a URI, it
> > might be even better to escape it as %H27. Square brackets 
> in a URI  
> > should
> > also probably be %HH-escaped.
> 
> So what is the escape for ] and [?
> 
> BTW, to be able to [expletive deleted] in XML data via the doc() function 
> like this --  
> where I send a query to a database and get a result back for  
> transformation -- is really useful.
> 
> Bruce

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.