[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: character entities

Subject: Re: character entities
From: Jeni Tennison <jeni@xxxxxxxxxxxxxxxx>
Date: Tue, 20 Nov 2001 18:03:56 +0000
subscript character entity
David,

> Which leads to the suggestion of having entity start and end markers
> in the infoset (and Xpath data model) but I don't know really
> whether I'd go that far.

No :) Thinking out loud, what about an 'entity' property on every
node, holding the name of the entity that the node comes from? That
would make accessible the information that you needed and allow you to
wrap them up fairly easily (just check whether the entity of this node
is the same as the entity of its parent).

The problem with this is what happens when you have:

  <doc>hello &world;</doc>

where &world; refers to the entity 'world'. Then you'd have a text
node whose content comes from two entities. Do you have any entities
like that or are they all nicely contained?

Cheers,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/


 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.