XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Mike PragerSubject: The dreaded   tag in converting to XML
Author: Mike Prager
Date: 15 Oct 2004 01:33 PM
Hi,

I've just started using Stylus Studio and I'm trying to convert a complex HTML doc to XML. The doc is littered with   but after conversion, I cannot do anything with the file as it chokes on the  .
What is wrong with this? There's nothing wrong with   in between XML tags?

Any help greatly appreciated

Thx in advance

Mike

Posttop
Tony LavinioSubject: The dreaded tag in converting to XML
Author: Tony Lavinio
Date: 18 Oct 2004 04:04 PM
The   entity is not defined by default in XML as it is in HTML.
You must either define it in your DTD, or explicitly define it in
your !DOCTYPE. For example:

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE root [<!ENTITY nbsp "&#160;">]>
<root>&nbsp;</root>

 
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.