This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: accessing info outside current context
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: Re: [xsl] accessing info outside current context
- From: "Thomas B. Passin" <tpassin at mitretek dot org>
- Date: Fri, 19 Oct 2001 10:47:28 -0400
- References: <002701c158a5$2d89ac90$2100a8c0@swiftnet.tec>
- Reply-To: xsl-list at lists dot mulberrytech dot com
[Chris Bayes]
> > > Jeni said
> > > > The document() function always takes a URL, it's just
> > that sometimes
> > > > URLs look like directory paths. So doing:
> > > >
> > > >
> > > > document('http://hbcora59/psr/Viewer?_but=Connect&db=dwbspt11&
> > > >
> > nlsl=en-us&in=dwb&_in=dwb&lc=false&us=rpekarek&fm=xml&ac=rpekarek')
> > > >
> > > > will work just fine.
> > >
> > > No it won't.
> >
> > It will.
> >
> No it won't.
>
> > Of course the XSLT engine must actually work (:-), and if the
> > statement appears in an XML document, the ampersands will
> > need to be escaped properly.
>
> Well it looks like an xslt fragment to me and as xslt is xml it won't
> work just fine without escaping the &s
>
Yes it will! No it won't! Good grief. I just tried it out and you DO have
to escape the ampersand just as you would expect (with msxml3 and Saxon; XT
couldn't find the url I pointed at, and Sablotron 0.7 said that http is an
unsupported protocol).
Cheers,
Tom P
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list