[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Re: [xml] mobile links for XInclude?
- From: "Ben Decker" <bdeck lycos co uk>
- To: "libxml mailing list" <xml gnome org>
- Subject: Re: Re: [xml] mobile links for XInclude?
- Date: Sat, 21 Jun 2003 19:08:59 +0100
> FromDaniel Veillard <veillard redhat com>
> DateFri, 20 Jun 2003 17:42:01 -0400
>On Fri, Jun 20, 2003 at 10:33:18PM +0100, Ben Decker wrote:
>> variable location, and not a hard physical link. The situation is this: I have a filetree of interlinked XML file
> There is no such definition as a "physical link" in the whole set of
>specifications related to XML or the Web.
OK.. I am sorry if I used the wrong 'terminology', but I think someone here anyway understands what I mean...
>> would like to move the whole filetree to a different location. Would something like this ever be possible:
>> <xi:include href="$XMLDATA/program/python.xml#xpointer(//python/libs)" parse="xml"
>
> No. The href attribute content is an URI Reference as defined in RFC 2396.
>So far this has been sufficient to build the Web, that should be sufficient
>for XInclude. Use relative URI reference or HTTP redirects.
> If you really want to make something not portable and are ready to
>design something that broken, then you can define your own entity handler
>at the libxml2 level
Why so negetive? I have a problem and need a solution. What I have learned so far doesn't offer one. I didn't see
reason for such a reaction like this... Was this really warranted?
>On Sat, Jun 21, 2003 at 02:58:46PM +0200, Oliver Fischer wrote:
>> May you should consider to use XML catalogs for this.
>
> Right this might be a cleaner way to do a local remapping of the
>URLs than overriding the default entity loader. I tend to consider
>that catalogs are more system resources than "programming" resources
>but they could play that role.
Thank you for the *positive* input that may help offer a *solution* to my problem, Oliver. I don't know anything
about "XML Catalogs". Maybe they can help me. Thanks.
Many regards,
Ben
This is your brain:
bash-2.05$
This is your brain on drugs:
Starting Windows XP...
Any questions?
250 business cards FREE! Create your own full-colour high-quality business cards easily online. Only at www.vistaprint.uk
--- Begin Message ---
- From: Daniel Veillard <veillard redhat com>
- To: Oliver Fischer <plexus snafu de>
- Cc: Ben Decker <bdeck lycos co uk>, libxml mailing list <xml gnome org>
- Subject: Re: [xml] mobile links for XInclude?
- Date: Sat, 21 Jun 2003 09:59:11 -0400
On Sat, Jun 21, 2003 at 02:58:46PM +0200, Oliver Fischer wrote:
> May you should consider to use XML catalogs for this.
Right this might be a cleaner way to do a local remapping of the
URLs than overriding the default entity loader. I tend to consider
that catalogs are more system resources than "programming" resources
but they could play that role.
Daniel
--
Daniel Veillard | Red Hat Network https://rhn.redhat.com/
veillard redhat com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
--- End Message ---
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]