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

Re: probs with document()

Subject: Re: probs with document()
From: Jarkko.Moilanen@xxxxxx
Date: Fri, 18 Oct 2002 14:13:25 +0300 (EEST)
kuvat jpg xml xsl
Lainaus Jarkko.Moilanen@xxxxxx:

> Hi!
> 
> I have somekind of click in my logic, because I can not 
> get the src value for the image from external xml file.
> Could some one point what seems to be the problem. 
> 
> XSLT
> <xsl:stylesheet version="1.0"
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
> <xsl:output method="html" encoding="iso-8859-1" indent="yes" /> 
> 
> <xsl:variable name="details" select="document('details.xml')" />
> 
> <xsl:template match="/">
> 
> <html>
> <body>

I tryed also 
<img src="{$details/XDoc/firstimage}" /> no results

> <img src="{$details/firstimage}" />
> </body>
> </html>
> </xsl:template>
> </xsl:stylesheet>
> 
> External details.xml
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <XDoc>
> <firstimage>/kuvat/unproc.jpg</firstimage>
> <XDoc>
> 
> Output:
> <html>
> <body>
> <img src=""></body>
> </html>
> 
> I really dont know what is wrong.
> 
> Cheers
> Jarkko
> 
>   
> 
> ****************************************************************
> Jarkko Moilanen          "Erehtyminen on inhimillista, 
> Researcher/ ITCM         mutta todella suuret mokat 
> jm60697@xxxxxx           vaativat tietokoneen käyttöä."         
> www.uta.fi/~jm60697                                           
> GSM: +358 50 3766 927                                         
> ****************************************************************
> * ITCM | Information Technology and Crisis Management            
> * http://www.itcm.org                                            
> ****************************************************************
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 
> 



****************************************************************
Jarkko Moilanen          "Erehtyminen on inhimillista, 
Researcher/ ITCM         mutta todella suuret mokat 
jm60697@xxxxxx           vaativat tietokoneen käyttöä."         
www.uta.fi/~jm60697                                           
GSM: +358 50 3766 927                                         
****************************************************************
* ITCM | Information Technology and Crisis Management            
* http://www.itcm.org                                            
****************************************************************

 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.