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

RE: Can't use xsl:include href="char-map.xslt"

Subject: RE: Can't use xsl:include href="char-map.xslt"
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Wed, 21 Sep 2005 12:36:47 +0100
char maps
Try to take a little more time over formulating your questions: in
particular, think about what information someone might need in order to help
you. 

It also helps to write in whole sentences with capital letters: it might
take you an extra ten seconds, but it makes it look as if you're thinking
while writing, and makes it much more likely that someone will scan your
message to see if it describes a problem that they recognize. Saying that
you *can* do something when you mean that you can't isn't going to help
people's understanding either.

There are two things that might be wrong: either the processor can't find
the char-map.xslt file, or it can find it and the contents of the file are
invalid. Your first task is to decide which of these is the case. Anyone
helping you with this task will want to see:

* the exact error message

* the contents of the file you are trying to include

* a listing of the directory containing your stylesheet module

Without at least some of that information, it's hopeless.

Michael Kay
http://www.saxonica.com/


> -----Original Message-----
> From: UlyLee [mailto:ulyleeka@xxxxxxxxx] 
> Sent: 21 September 2005 08:53
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  Can't use xsl:include href="char-map.xslt"
> 
> guys i need help i dont know what happened but all of
> a sudden i can load may char-map.xslt file into my
> main xsl file. it reports can't load file error, i
> tried directly writing the char-map into the main xsl
> but it returns an 'unknown error' message. i'm using
> xmlspy, and it was working perfectly yesterday but all
> of a sudden it won't work today.
> 
> <xsl:stylesheet version="2.0"
> xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
> xmlns:xs="http://www.w3.org/2001/XMLSchema"
> xmlns:fn="http://www.w3.org/2005/02/xpath-functions"
> xmlns:xdt="http://www.w3.org/2005/02/xpath-datatypes">
> <xsl:include href="char-map.xslt"/>
> <xsl:output method="xml" version="1.0"
> encoding="UTF-8" indent="yes"
> use-character-maps="charmap"/>
> <xsl:output method="html" version="4.0"
> encoding="UTF-8" indent="yes" name="table"
> use-character-maps="charmap"/>
> ... various templates
> 
> UlyLee
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 

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.