[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Decode Base64 data and namespaces
On 28/06/2010 11:39, Siddhi Thakkar wrote:
Hi experts, I have two questions- 1) Can one element belong to two namespaces? No, that's asking if one element can have two names. Of course any number of namespaces can be in scope on a single element but the element is in the namespace associated with its prefix (or lack of prefix) and there can only be one of those.
In an ideal world you wouldn't need to do anything, just wrie out <img src="data:image/png,....base 64 encoded data...."/> but not every commonly used browser supports the data URI type. So you'll need to use an extension function of some type. You don't say what processor you are using (since you appear to be using xslt2 from java, i assume it's saxon?) Saxon's extension functions depend on whether you are using the commercial version or not. David ________________________________________________________________________ The Numerical Algorithms Group Ltd is a company registered in England and Wales with company number 1249803. The registered office is: Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom. This e-mail has been scanned for all viruses by Star. The service is powered by MessageLabs. ________________________________________________________________________
|
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
|