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

RE: adding unparsed entities

Subject: RE: adding unparsed entities
From: Stuart Brown <sbrown@xxxxxxxxxxx>
Date: Wed, 9 Jun 2004 10:06:07 +0200
xsl adding entities
> I am transforming a document to TEI.2. TEI.2 requires that graphics (such
as JPEGS) be included using unparsed entities. 

> I assume there is no way to really add an unparsed entity to a result tree
> (except by using escaping, which I don't like to do). Am I correct? Has
anyone
> come across this problem?

Plenty of TEI users have come across this problem, and their solution is
almost always to ditch the entities and introduce a url= or href= attribute
using the TEI extensions mechanism. This solution will be (in all
likelihood) established in the new version of the TEI under development
(P5), and I'm pretty sure exists in TEI Lite. Sebastian Rahtz's TEI XSLT
stylesheets certainly already happily pick up a url= attribute as an image
source.

Not an XSLT solution, I'm afraid, but a TEI one! I'd recommend anyway
holding out until the new guidelines are released as they'll constitute a
major change, not least dropping <TEI.2> in favour of <TEI>, the former
being a rather incautious name from version P2, which has stuck around until
P4 as until then releases were guaranteed not to break old docs.

Regards,

Stuart

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.