[Home] [By Thread] [By Date] [Recent Entries]

  • To: "xml dev" <xml-dev@l...>
  • Subject: Re: how to design an HTML file to contain an XML file?
  • From: Tei <oscar.vives@g...>
  • Date: Fri, 23 Jun 2006 10:05:23 +0200
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=NfKaEv5uHPykeIGqeqdax9/VYHEQwEpXXh3drXeNV5FZ976CmKraSe6Bp6d8i4xA4QHs1VhbFyXNP92DkckSiVZQSpBshBrlnKds15TTK5fE8xlIBg9q9LmBIlMvCOdF1aoAoxZ9VmeCUXOWmlP1G2LqYaCPpKTnpT9Q3Kxyku4=
  • In-reply-to: <20060621191206.67088.qmail@w...>
  • References: <20060621191206.67088.qmail@w...>

On 6/21/06, Anil Philip <goodnewsforyou@y...> wrote:
>
> Hello,
> I have an interesting design problem and wondered if the gurus would have
> insight into it.

I am noob

> I need to have an html file that contains an <A> tag. Clicking it will cause
> Java program to run as the href is a JNLP (Java Web start) file. I want the
> Java program to pick up my XML file and parse it.
> 1) Is there any way to combine all the above elements intelligently? (except
> perhaps the JNLP file).

..?
Can you pass parameters with a JNLP somehow?

> 2) How to prevent the SAX parser from choking on the HTML file that contains
> the XML file?

..?
Parse the file manually, pick the stuff you want, and pass this to SAX.

> 3) Where should the XML file reside in the HTML file?

In the <head></head>, because theres also other META data already here. I think.

> The reasoning behind it is: it is easier for a user to email and interact
> with an HTML file rather than an XML file. For example, clicking on a
> hyperlink is easy.

humm..??
you sould store whatever on the server, and sent do users links with
Identificators

ReadReview.jsp?id=3222

its that posible???

clientella.jnlp?id=3222

then the java web start applet can query the data of item 3222 as XML

humm... I have  no idea.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member