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

Re: need an extra pair or two of eyes

Subject: Re: need an extra pair or two of eyes
From: "Randall Gremillion" <grenma@xxxxxxxxxxxxx>
Date: Mon, 13 May 2002 10:14:02 -0700
randall gremillion
Sorry! It's in the .ent file:

<!--************************************************************
    styledefs.ent
    ****************************************************************

    ** This is a file with style ENTITY definitions.
    ** This file should be placed in the same directory as 
       the xsl stylesheets and their includes.

****************************************************************
****************************************************************-->
<!--********************|  IMAGES   |***************************-->
<!ENTITY spacerimg "&img_uri;/blank.gif">
<!--***************|  COMMON DEFINITIONS   |********************-->
<!-- base uris for Learning Network sites -->
<!ENTITY fd_uri "http://www.futuredex.com">
<!-- base uris for web files: -->
<!ENTITY img_uri "/STATIC/futuredex/frontend/images">


Date: Sun, 12 May 2002 10:37:58 +0200
From: Joerg Heinicke <joerg.heinicke@xxxxxx>
Subject: Re:  need an extra pair or two of eyes

Where is &img_uri; declared?

Joerg

Randall Gremillion schrieb:
> I have created a stylesheet that includes list of entities. Runining 
> this through Resin, however, it chokes on resolving them.
> 
> Opening of stylesheet (it is a secondary or imported stylesheet):
> 
> <?xml version="1.0"?>
> <!DOCTYPE page [
>   <!ENTITY % styledefs SYSTEM "futuredex_ent.ent">
>   %styledefs;
> ]>
> <xsl:stylesheet xmlns:bebop="http://www.arsdigita.com/bebop/1.0"
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" 
> xmlns:cms="http://www.arsdigita.com/cms/1.0"
> xmlns:fdx="http://www.futuredex.com/1.0"
> xmlns:frontend="http://www.futuredex.com/1.0/frontend">
> 	<xsl:output method="html" indent="yes"
doctype-public="-//W3C//DTD 
> HTML 4.01 Transitional//EN"/>
> 	<xsl:strip-space elements="*"/>
> 	<!--VARIABLES-->
> 	<xsl:variable name="title">
> 		<xsl:value-of select="//bebop:title"/>
> 	</xsl:variable>
> 	<!--MAIN TEMPLATE-->
> 	<xsl:template match="bebop:page" 
> xmlns:bebop="http://www.arsdigita.com/bebop/1.0">
> 		<html>
> 			<xsl:call-template name="head"/>
> 			<body text="#000000" link="#336600"
> vlink="#669933" alink="336600" leftmargin="0" topmargin="0" 
> marginwidth="0" marginheight="0" 
> onLoad="MM_preloadImages('&img_uri;/nav_top-matchdex-on.gif','&img_uri
> ;/
>
nav_top-my_futuredex-on.gif','&img_uri;/nav_top-mam-on.gif','&img_uri;/n
>
av_top-events-on.gif','&img_uri;/nav_top-analytics-on.gif','&img_uri;/na
>
v_top-research-on.gif','&img_uri;/nav_top-search-on.gif','&img_uri;/nav_
>
top-home-on.gif','&img_uri;/nav_side-private-on.gif','&img_uri;/nav_side
>
-investors-on.gif','&img_uri;/nav_side-service-on.gif','&img_uri;/nav_si
>
de-advisors-on.gif','&img_uri;/nav_side-press-on.gif','&img_uri;/nav_sid
> e-what-on.gif','&img_uri;/nav_top-directory-on.gif')"
> background="&img_uri;/side-bg.gif">
> 
> xml file:
> 
>   <?xml version="1.0" encoding="UTF-8" ?>
> - <bebop:page xmlns:bebop="http://www.arsdigita.com/bebop/1.0">
>   <bebop:title>Futuredex</bebop:title> 
> - <frontend:container xmlns:frontend="http://www.futuredex.com/1.0"
> requestURI="/xml/" class="/">
> - <frontend:container requestURI="/xml/" class="/index">
>   <frontend:temporaryHomePage /> 
>   <fdx:user-status xmlns:fdx="http://www.futuredex.com/1.0"
> is-logged-in="true" fullname="Gee Eye" id="35181" /> 
>   </frontend:container>
>   </frontend:container>
>   </bebop:page>
> 
> Beginning of error message:
> 
> javax.xml.transform.TransformerConfigurationException
> 
> com.caucho.xml.XmlParseException: 
> file:/c:/cygwin/home/grenma/resin-2.0.5/webapps/acs/packages/frontend/
> xs
> l/FDPage.xsl:17: expected local reference at `&img_uri;'
> 	at com.caucho.xml.XmlParser.error(XmlParser.java:2549)
> 	at com.caucho.xml.XmlParser.parseValue(XmlParser.java:1131)
> 	at com.caucho.xml.XmlParser.parseAttributes(XmlParser.java:666)
> 
> Any help is greatly appreciated.
> 
> Sincerely,
> Randall Gremillion






 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.