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

Re: XML fragment as a param ?

Subject: Re: XML fragment as a param ?
From: Colin Paul Adams <colin@xxxxxxxxxxxxxxxxxx>
Date: 03 Nov 2005 12:13:46 +0000
colin fraser
>>>>> "Fraser" == Fraser Goffin <goffinf@xxxxxxxxxxx> writes:

    Fraser> Colin, thanks for the pointer. I assume you mean the
    Fraser> technique that was discussed in relation to the document
    Fraser> function (note: I am using XSLT 1.0 rather than 2). I
    Fraser> tried this (in XML Spy for now), but got the error

    Fraser> 'Error in function doument; Could not find external
    Fraser> entity'

    Fraser> Is this perhaps related to to the use of data: not being
    Fraser> supported

Correct.


    Fraser> I haven't come across data: before. I thought that the
    Fraser> document() function accepted a resolvable URI as a
    Fraser> parameter, so does the use of data: provide a sort of
    Fraser> resolver itself then ?

No. data is a standard URI scheme. But which URI schemes are supported
is processor dependent.
So you will need to implement a resolver that handles the data URI
scheme, for this to work. (Or get someone else to do it - I can supply
Eiffel code for such a resolver, if that helps).
-- 
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.