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

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

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

> -----Original Message-----
> From: UlyLee [mailto:ulyleeka@xxxxxxxxx] 
> Sent: 21 September 2005 08:53
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: [xsl] 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="";
> xmlns:xs="";
> xmlns:fn="";
> xmlns:xdt="";>
> <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 

Current Thread