Re: XSLT: Relative URI "my.dtd" can not be resolved without a base URI

Discussion in 'XML' started by etheriau, Aug 23, 2004.

  1. etheriau

    etheriau Guest

    Peter Flynn wrote:
    > Pavel wrote:
    >
    > > <?xml version="1.0" encoding="utf-8" ?>
    > > <!DOCTYPE mydoc SYSTEM "my.dtd">
    > > <mydoc>
    > > ...
    > > </mydoc>

    >
    > Hi,
    >
    >
    >
    > According to http://java.oreilly.com/news/javaxslt_0801.html, all yo
    > have to do is to specify the second parameter to the StreamSource a
    > the directory where the DTD is. This is more flexible than forcin
    > users to always have your DTD locally.
    >
    >
    >
    > eyt



    -
    etheria
    -----------------------------------------------------------------------
    Posted via http://www.forum4designers.co
    -----------------------------------------------------------------------
    View this thread: http://www.forum4designers.com/message103363.htm
     
    etheriau, Aug 23, 2004
    #1
    1. Advertising

  2. etheriau

    Pavel Guest

    Thank you very much. It worked nicely for me!
    Pavel

    etheriau <4designers.com> wrote in message news:<4designers.com>...
    > Peter Flynn wrote:
    > > Pavel wrote:
    > >
    > > > <?xml version="1.0" encoding="utf-8" ?>
    > > > <!DOCTYPE mydoc SYSTEM "my.dtd">
    > > > <mydoc>
    > > > ...
    > > > </mydoc>

    > >
    > > Hi,
    > >
    > >
    > >
    > > According to http://java.oreilly.com/news/javaxslt_0801.html, all you
    > > have to do is to specify the second parameter to the StreamSource as
    > > the directory where the DTD is. This is more flexible than forcing
    > > users to always have your DTD locally.
    > >
    > >
    > >
    > > eyt*
     
    Pavel, Aug 23, 2004
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Simon Harris
    Replies:
    0
    Views:
    6,413
    Simon Harris
    May 10, 2005
  2. Stylus Studio
    Replies:
    0
    Views:
    714
    Stylus Studio
    Aug 3, 2004
  3. Stanimir Stamenkov
    Replies:
    1
    Views:
    2,494
    Stanimir Stamenkov
    Aug 17, 2005
  4. Pavel
    Replies:
    2
    Views:
    1,680
    Peter Flynn
    Aug 4, 2004
  5. Turbo
    Replies:
    2
    Views:
    167
    Turbo
    Nov 1, 2006
Loading...

Share This Page