[jdom-interest] Ampersand in tag

tsasala at hifusion.com tsasala at hifusion.com
Fri Dec 1 04:07:28 PST 2000


	Hmmmm, we're using the XMLOutputter and it turns the
& into &.  Have you considered the HTMLOutputter that James
submitted a few days ago?

	-Tom 

Nick Vincent wrote:
> 
> 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&param2=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
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@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                                                       + 
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



More information about the jdom-interest mailing list