Subject: RE: xmlns invalid? xt or XSLT problem? From: DPawson@xxxxxxxxxxx Date: Fri, 1 Oct 1999 20:57:46 +0100 |
I think I understand that David :-) That last lines I can echo. I'm really looking forward to the 'or something'. I'm sure if schemas were that solid someone would have come up with something by now??? Regards, DaveP >If you are doing this: >> <xsl:output method="html" encoding="utf-8"/> > >then you are using the latest draft so shouldn't be doing this: > >> result-ns="" > >which means that you don't absolutely need to do this: > >> xmlns="http://www.w3.org/TR/REC-html40" > >and if you don't do that everything will be fine. > > >However even at the best of times may still get this: > >> nsgmls tells me that according to the DTD specified, >> there is no attribute xmlns. > > >To a namespace aware processor ><html:html xmlns:html=... > >and ><html xmlns=... > > >are equivalent expressions, but a validating XML parser using a DTD >that has an `html' element is going to moan about html:html. >And will moan about extra namespace attributes added as well if >the dtd was written before the namespace spec and doesn't allow >xmlns everywhere. > >Basically in namespace world, you give up on DTD validation >and pray for >schemas (or something). > >David > > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: xmlns invalid? xt or XSLT probl, DPawson | Thread | meaning of "contain" in the XSLT sp, Mike Brown |
RE: xmlns invalid? xt or XSLT probl, DPawson | Date | RE: meaning of "contain" in the XSL, Mike Brown |
Month |