Altova Mailing List Archives

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

From: "Michael Kay" <mike@------------>
Date: 9/21/2005 11:37:00 AM
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 


These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.