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

Entities from source doctype?

Subject: Entities from source doctype?
From: "Liz Fraley" <caltonia@xxxxxxxxx>
Date: Fri, 8 Aug 2008 01:14:23 -0700
 Entities from source doctype?
Greetings,

Can I fetch an entity value that's defined in the doctype portion of a
source document, but not used by name anywhere else in the source
document?

For example, say the source xml document looks something like this:

<!DOCTYPE mydoctype [
<!ENTITY mynote  "this is a special note" >
]>
<mydoctype>
       <specialnote/>
</mydoctype>


I can't use the unparsed-entity-uri function, because I don't know the
name of the entity: It's never used by name. Instead, if I come across
the 'specialnote" element, I want to substitute the value stored in
the 'mynote' entity.

Can I fetch the value of the "mynote" entity or must it be used (or
name known) in order to access it?

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.