Hi,
I can't seem to figure out why the XML isn't printing the "/" character. For instance I have this:Prints: Dividers: 78” Simulated Divided Lites With Space BarsCode XML:<spec>Dividers: 7/8” Simulated Divided Lites With Space Bars</spec>
| SitePoint Sponsor |



Hi,
I can't seem to figure out why the XML isn't printing the "/" character. For instance I have this:Prints: Dividers: 78” Simulated Divided Lites With Space BarsCode XML:<spec>Dividers: 7/8” Simulated Divided Lites With Space Bars</spec>





It's pulled through a flash application. Do I need to specify a doctype maybe? This is what I have:Code XML:<tour_content> <section> <item> <title>Marvin Clad Inswing Round Top French Casemaster Window</title> <images> <image>images/lg/W01 S11.jpg</image> <image>images/lg/W01a.jpg</image> <image>images/lg/W01b.jpg</image> <image>images/lg/W01x.jpg</image> </images> <specs> <spec>Exterior: Ebony Aluminum Clad with Ridgeland Casing</spec> <spec>Interior: Pine with Trim #1351 </spec> <spec>Dividers: Flat Patina Caming</spec> <spec>Hardware: Oil Rubbed Bronze Cremone Bolts and Handle</spec> <spec>Glass: Beveled Glass</spec> <spec>Feature: An Unobstructed View and Inswing Operation Evoke European Charm</spec> </specs> </item> <!-- Then repeats -->



As the / is in a text node, it should not be parsed by the xsl engine, but you could try to put it into a CDATA sectionOtherwise, your problem may be elsewhere than in the xml transformation/parsing.Code:<image><![CDATA[images/lg/W01a.jpg]]></image>



Got it to work...when I copied the data from the pdf , the character was one entity like you see here: ¾
Rather than 3/4.Code XML:<spec>Construction: ¾” Perma Panel (solid polymer that will not split, crack, rot or swell)</spec>Code XML:<spec>Construction: 3/4” Perma Panel (solid polymer that will not split, crack, rot or swell)</spec>
Bookmarks