[jdom-interest] Ampersand in tag
Nick Vincent
Nick at Neoworks.com
Fri Dec 1 03:20:32 PST 2000
Hi all,
Thanks for your answers about replacing the ampersand with &
The problem with this is that the & is not turned into an ampersand in
the final XSLT parsed document, it still appears as &.
The attribute I'm trying to use holds a URL to be used to construct a link
in HTML, and so the ampersand has to appear explicitly to pass GET
parameters to the page.
Any help much appreciated
Thanks,
Nick
> -----Original Message-----
> From: tsasala at hifusion.com [mailto:tsasala at hifusion.com]
> Sent: 30 November 2000 19:58
> Cc: 'jdom-interest at jdom.org'
> Subject: Re: [jdom-interest] Ampersand in tag
>
>
> Replace the ampersands with &
>
> -Tom
>
> Nick Vincent wrote:
> >
> > Hi,
> >
> > I'm trying to parse an XML file with a tag like
> >
> > <item href="http://address.com/item.jsp?param=yes¶m2=yes">
> >
> > But SAXBuilder, with validation off, refuses to parse the
> file because the
> > attribute has ampersands in.
> >
> > Does anyone know a way round this?
> >
> > Thanks,
> >
> > Nick
> > _______________________________________________
> > To control your jdom-interest membership:
> >
> http://lists.denveronline.net/mailman/options/jdom-interest/yo
uraddr at yourhost.com
--
((((((((((((((((((((((((((((((((((())))))))))))))))))))))))))))))))))))))))
( Despair brings compassion in our kind )
((((((((((((((((((((((((((((((((((())))))))))))))))))))))))))))))))))))))))
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+ Thomas M. Sasala, Senior Developer tsasala at hifusion.com +
+ HiFusion, Inc. (W) 703.848.4441 +
+ 8180 Greensboro Dr, #500 (F) 703.848.4426 +
+ McLean, VA 22102 +
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
_______________________________________________
To control your jdom-interest membership:
http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhos
t.com
More information about the jdom-interest
mailing list