Hi JingJung,
You can set the attached entity resolver on an XMLReader
and create a SAXSource with it.
Regards,
Werner.
jingjun long wrote:
> Hello,
>
> I searched the supporting mail archive. There are some discussion about
> using xml catalog file. The following is an example of what I mean xml
> catalog file:
>
> <?xml version="1.0" encoding="utf-8"?>
>
> <catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog"
> prefer="public">
> <public publicId="-//ASA//DTD BOOK//EN" uri="./DTD/book.dtd"/>
>
> </catalog>
>
> I downloaded the entity resolver from
> http://xml.apache.org/commons/index.html. It works fine.
>
>
> The thing is I have some "old" catalog file. Doese anyone of you has any
> ideas about "old" version of catalog file support? What I mean "old"
> catalog file is something like the following:
>
> --
> CATALOG FILE
> --
> PUBLIC "-//ASA//DTD BOOK//EN" "./DTD/book.dtd"
>
>
> Can I use above catalog file in RenderX (Or maybe I should say in XML
> parser and XSL engine)?
>
> I have several software (For example: XMetaL and RenderX) use the DTDs,
> I want they use the same catalog file to search for DTDs.
>
> Thank you in advance.
>
> JingJun Long
>
>
>
> -------------------
> (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
> in the body of the message to majordomo@renderx.com from the address
> you are subscribed from.
> (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html
>
-- Werner Donn¨¦ -- Re Engelbeekstraat 8 B-3300 Tienen tel: (+32) 486 425803 e-mail: werner.donne@re.be
-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html
This archive was generated by hypermail 2.1.8 : Wed Jul 04 2007 - 03:16:09 PDT