[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: why doesn't this do what i think it should?
> Why doesn't this do what I think it should? Why is the result not > enclosed in <newaaa></newaaa>? I am using TestXSLT from Xalan 1.0. Content that you want written to the result tree needs to be inside a template. I usually use a root template to create enclosing elements such as your <newaaa></newaaa> Try this: <xsl:template match="/"> <newaaa> <xsl:apply-templates/> </newaaa> </xsl:template> -------- Pete Beazley mailto:pete@xxxxxxxxxxxxxxxxx ClearlyOnline, Inc. http://clearlyonline.com XML and XSLT Training & Consulting PGP Key mailto:pgp.pete@xxxxxxxxxxxxxxxxx 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
|