You need to escape your & as & in XML.
> On Mar 7, 2016, at 12:19 PM, Danny Sinang <d.sin...@gmail.com> wrote: > > I'm trying to call xdmp:http-get with the following option : > > declare variable $options := > <options xmlns="xdmp:http"> > <headers> > <Authorization>Bearer > TBz&Psm#cGDedppn4QdH&93Ra(7w@$!9LsGG5NqiJ^)PTh99GW6!s*O2*tz4oGR8</Authorization> > </headers> > </options> ; > > But I keep getting XDMP-ENTITYREF: (err:XPST0003) Invalid entity reference > "Psm#" . > > Do I need to escape the # character ? > > If so, how ? > > Regards, > Danny > > _______________________________________________ > General mailing list > General@developer.marklogic.com > Manage your subscription at: > http://developer.marklogic.com/mailman/listinfo/general
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general