Register  Login       Search  
Forum  
 
  
 
Forum  Forum     
 
SearchForum Home
  Mvp.Xml Project  EXSLT.NET  Help Please! Un...
 Help Please! Unable to produce valid transitional 1.0 xhtml output!
 
jwalton
1 posts
lef.csc.com
Joined
5/24/2007

Help Please! Unable to produce valid transitional 1.0 xhtml output!
Posted: 24 May 07 4:38 AM (N/A)

I have an application that was originally working fine with asp.net 1.1 and DotNet exslt library. Output from the xslt is xhtml.

 

I am converting it to asp.net 2.0 (with compiled xslt) with Mvp exslt library. I am totally at a loss as to how to produce valid output. i.e I need to output elements such <br /> but  images must be <img src="..."></img>.

Just how do I achieve this? Using xsl:output method="xml" causes all empty elements to be output in shorthand form. Using xsl:output method="html" cures that problem, but many elements are output in html syntax (e.g. <br>).

I don't know if problem is with Mvp module or my use of new .net 2.0 xslt classes!

John Walton 

 

 

olegt
85 posts
www.xmllab.net
Joined
2/25/2005

Re: Help Please! Unable to produce valid transitional 1.0 xhtml output!
Posted: 21 Jun 07 1:33 AM (Israel)
That must be new XSLT processor in .NET 2.0 - XslCompiledTransfrom. Anyway, I'm looking into XHTML generation problem now.

Oleg Tkachenko, Microsoft MVP for XML, MCPD
http://www.XmlLab.Net | http://blog.tkachenko.com
  Mvp.Xml Project  EXSLT.NET  Help Please! Un...
Forum Home  Search