[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Namespace Problem

Subject: Re: Namespace Problem
From: "James A. Robinson" <jim.robinson@xxxxxxxxxxxx>
Date: Wed, 16 Jul 2008 05:25:08 -0700
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)

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.