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

RE: [none] (Wendy's question)

Subject: RE: [none] (Wendy's question)
From: Mike Dierken <mike@xxxxxxxxxxxxxxx>
Date: Fri, 26 Feb 1999 10:45:38 -0800
wendy muench
I had previously thought of using entity references for this purpose, but it
turns out not be a viable solution.

It would have been nice to be able to say:
    <xsl:for-each select='@attribute=&search.for;'>

Before performing transformNode(), I would have used the DOM to access the
entity table of the DTD (probably an internal DTD) and modified the entity
value. Unfortunately this is not allowed, per the XML 1.0 spec.

It would have been very nice, on a server, to keep the DOM of the stylesheet
in memory and modify these entity values for each transaction, and let the
transform take place. Multi-threading issues might have required a different
DOM per thread, or it might have required access to the entity table to be
based upon the current thread. Alas, entities are not allowed to be modified
after a document is parsed. A DOM will have no entity reference nodes. Oh
well.

It looks like the search and replace functionality has to be hand coded by
each application developer. 

Mike


 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.