|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: JSP Tag library .tld files to HTML: DOCTYPE mangle
Thanks Paul, it was more or less that, except the stylesheet wasn't built for any particular version as opposed to being built for a specific but different to that which I was using. I change my <xls:stylesheet ... > to this <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:tld="http://java.sun.com/JSP/TagLibraryDescriptor" > and updated the stylesheet like (for example) <xsl:template match="tld:taglib"> and all works wonderfully. Cheers, Jon > > > From: Jon Archer [mailto:jon@xxxxxxxxxxxxxx] > > Has anyone else been here before and found an answer? > > I you look in the JSP 1.2 taglib DTD, you'll find: > > <!ATTLIST taglib id ID #IMPLIED > xmlns CDATA #FIXED > "http://java.sun.com/JSP/TagLibraryDescriptor" > > > > If you look in the JSP 1.1 taglib DTD, you'll find: > > <!ATTLIST taglib id ID #IMPLIED > xmlns CDATA #FIXED > "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd" > > > > and that means that there is a default xmlns attribute applied to > the taglib element in each case. > > If the stylesheet was built for one version, it won't match the > other -- because of the different namespaces. > > -- Paul > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








