|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Empty object
Michael Kay wrote:
Michael,Just want in your opinion the best way to deal with this issue so I can adopt it once and forget about it. now I am completely confused. If my input xml file contains I add this entity reference to my xml file <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE holdspace [<!ENTITY nbsp " ">]> Now when I open this xml file in XMLSpy I don't get the error message missing entity reference..character data..etc nbsp. Great. Now when I run my transform that I sent you against this xml input file the   that are originally in the xml file of course don't appear in my transformed output. What I get is <OBJECT></OBJECT> instead of my desired result <OBJECT> </OBJECT>. Obviously I have something not declared properly in my xsl. Where do I place <!DOCTYPE holdspace [<!ENTITY nbsp " ">]> in my stylesheet given I am using a syntax of <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" /> <xsl:template match="/"> Sincerely, Scott 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








