On Fri, 15 Nov 2002, Andy Powell wrote:
> On Fri, 15 Nov 2002, Pete Johnston wrote:
>
> > > My XSLT is now available at the above page (as Version 2).
> > > It works fine for me locally (using Xalan), but the XSLT
> > > processor at W3C generates an empty xmlns="" attribute for
> > > each DC property :-( I don't understand why it does this.
> > > Can any XSLT experts out there suggest a correction to my XSL file?
> >
> > I'd need to think much harder about exactly why ;-) - but I think if you
> > remove the namespace declaration in the stylesheet which associates the
> > null namespace with the XHTML namespace
> >
> > xmlns="http://www.w3.org/1999/xhtml"
> >
> > then it's OK. As far as I can see, everything in the stylesheet is
> > namespace-prefixed so I don't think that declaration is having any other
> > effect.
>
> Thanks Pete. That's fixed it. A new version is attached. Note that I've
> changed the filename to dcmeta2rdf.xsl.
>
> (Dan, can you replace the version on the W3C site that I sent you earlier
> with the one attached here. Thanks.).
Done, thanks.
http://www.w3.org/2000/06/dc-extract/form.html ->
http://www.w3.org/2000/06/webdata/xslt?xslfile=http%3A%2F%2Fwww.w3.org%2F2000%2F06%2Fdc-extract%2Fdc-extract-v2.xsl&xmlfile=http%3A%2F%2Fcgi.w3.org%2Fcgi-bin%2Ftidy%3FdocAddr%3Dhttp%253A%252F%252Fadam.ac.uk%252F
Dan
|