[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] Entities contain XML tags?
- From: David Carlisle <davidc@nag.co.uk>
- To: Dan Shelton <dan.f.shelton@gmail.com>
- Date: Sat, 04 Aug 2012 09:59:36 +0100
On 04/08/2012 07:42, Dan Shelton wrote:
> Can entities themselves contain XML tags? I'm trying to write my own
> XML parser (for fun) and try to understand when entity expansion
> should be done - before tag parsing, after tag parsing or do entities
> only apply to text data?
yes but in XML (unlike SGML) each entity must be "well balanced" ie have
matching end tag if it has a start tag. Parameter entities have
similar, but more exotic, restrictions.
David
--
google plus: https:/profiles.google.com/d.p.carlisle
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]