Re: Namespace Problem
> ... > <xsl:template match="book"> > ... > <body> > <xsl:apply-templates/> > </body> > </xsl:template> > > <xsl:template match="book/title"> > ... > </xsl:template> > </xsl:stylesheet> > > When i see view in IE8 (beta) its showing all are one line is mixing > in one paragraph. I think i m missing some namespace. Thats why i > could not get it. > > Anyone please advice me. It looks as though you only have two templates defined in your stylesheet. When you run xsl:apply-templates at the end of your match on "book", the processor will be applying either (a) templates you define or (b) the default template processing rules. If you only have the the two templates you showed defined, then 'subtitle' and any other element after it will be handled with the default processing rules. Those rules are to emit all text in the elements, stripping away any markup information. This would, I think, match what you say you are seeing. Jim - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - James A. Robinson jim.robinson@xxxxxxxxxxxx Stanford University HighWire Press http://highwire.stanford.edu/ +1 650 7237294 (Work) +1 650 7259335 (Fax)
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