[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Resolving Unescaped Entity Refs
> Hi all: > I am working on a transformation that uses the same 4 letter 'code' as a back-end parameter and an entity reference. Currently the 'code' appears twice for each node - once escaped and once not escaped, and I'd like to find a way to eliminate one. > > Current Example: > > <node display="&code;">code</node> > > I'd like to replace it with: > > <node>code</node> > > and create functionality that would resolve this using an entity reference in an external DTD (<!ENTITY code "Resolved Display Value">) > > I thought I could use <xsl:value-of select="unparsed-entity-uri(/node) />, however, in testing I find this is incorrect. > > Any ideas? I'm using Xalan as a transformation engine. > > TIA > > nik > > XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|