xsl-list
[Top] [All Lists]

RE: XSLT Help is needed

2004-10-14 05:02:04
Hi Jarno,
My objective is to replace &imgURL with
"http://localhost:7001/WAT/wat/images"; in <img/> tag,given below.
<img src="&imgURL/viewdocument.gif" width="123" height="20" border="0">

<!ENTITY imgURL "http://localhost:7001/WAT/wat/images"; > 

How can I do this???

Thanx,
pavithran

-----Original Message-----
From: Jarno(_dot_)Elovirta(_at_)nokia(_dot_)com 
[mailto:Jarno(_dot_)Elovirta(_at_)nokia(_dot_)com] 
Sent: Thursday, October 14, 2004 11:39
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: RE: [xsl] XSLT Help is needed


Hi,

Subject: [xsl] XSLT Help is needed

See 
<http://www.mulberrytech.com/xsl/xsl-list/index.html#subject-lines>.
 
I am new to XSLT and finding problem in transforming the 
below given 
tags using MSXML. Same i am able to transform in Java Parsers.
 
Is that the limitation of MSXML ???
 
Can anyone suggest how can achieve the similar 
transformation in MSXML 
??
 
<!DOCTYPE xsl:stylesheet [
 <!ENTITY nbsp "&#160;" >
 <!ENTITY copy "&#169;" > 
 <!ENTITY imgURL "http://localhost:7001/WAT/wat/images"; > 
]>

Umm... where's the stylesheet? What's the problem, exactly? I 
suppose something to do with entities in the stylesheet, but 
exactly what? You don't get the same entities in the output, 
but rather the entity value? If that's the case, then the 
answer is that you have to do post-processing or write your 
own serializer as the XPath source tree will not contain 
information about entities and thus the serializer cannot 
recreate the entity declarations.

Cheers,

Jarno - Lights of Euphoria: True Life (VNV Nation remix)

--+------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: 
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--+--




<Prev in Thread] Current Thread [Next in Thread>