qexo-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qexo-general] XML Header and URIs


From: Brian Maso
Subject: Re: [Qexo-general] XML Header and URIs
Date: Tue, 13 Jan 2004 15:01:30 -0500

There is a paper on writing custom protocol handlers in Java at [1].

Brian Maso
address@hidden
(949) 395-8551

[1] http://java.sun.com/developer/onlineTraining/protocolhandlers/

>----- ------- Original Message ------- -----
>From: address@hidden
>To: address@hidden
>Sent: Mon, 12 Jan 2004 10:33:29
>
>Sascha Opletal wrote:
>
>> I have two problems here...
>> 
>> 1) Is it possible to use some uri-resolver with
>qexo, to resolve and use
>> custom uris? something like "message://some.xml"
>
>I don't know.  Only if there is some standard Java
>plug-in mechanism
>for URI schemes.
>
>> 2) The qexo parses file a with an XML-Header
>correctly, but i can't 
>> create a header in my output file.
>> 
>> How can i insert an XML Header?
>
>Two methods:
>(a) Use the unescaped-data function (documented in
>the manual).
>
>(b) I just checked in a patch to emit an XML
>declaration when
>printing a document node.  So you can do:
>document { <top>...</top> }
>
>The does not include a specification of the
>encoding,
>because XMLPrinter doesn't know what the encoding
>is.
>If we did, we could also be more intelligent about
>when
>we need to emit character enteties.
>
>> A query would be like this:
>> 
>> <?xml version="1.0" encoding="ISO8859-2"?>
>> {
>> 
>> Xquery stuff here
>> 
>> }
>
>This is not valid XQuery syntax.
>-- 
>        --Per Bothner
>address@hidden   http://per.bothner.com/
>
>
>
>
>_______________________________________________
>Qexo-general mailing list
>address@hidden
>http://mail.gnu.org/mailman/listinfo/qexo-general






reply via email to

[Prev in Thread] Current Thread [Next in Thread]