"-//Vernetztes Studium - Chemie//DTD vscml 1.0//EN" and "-//Vernetztes
Studium - Chemie//grammar tex 1.0//EN" are illegal namespaces URIs.  If you
replace them with something legal, you shouldn't have any problems.

Dave



|---------+-------------------------------->
|         |           Stephan Michels      |
|         |           <[EMAIL PROTECTED]|
|         |           -berlin.de>          |
|         |                                |
|         |           04/25/2002 05:22 AM  |
|         |                                |
|---------+-------------------------------->
  
>---------------------------------------------------------------------------------------------------------------------------|
  |                                                                             
                                              |
  |        To:      <[EMAIL PROTECTED]>                                         
                                   |
  |        cc:      (bcc: David N Bertoni/Cambridge/IBM)                        
                                              |
  |        Subject: Namespaces and select                                       
                                              |
  
>---------------------------------------------------------------------------------------------------------------------------|



Hi,

I got some error if I use prefixes in the select attribute of
apply-templates:

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; version
="1.0"
                xmlns="-//Vernetztes Studium - Chemie//DTD vscml 1.0//EN"
                xmlns:tex="-//Vernetztes Studium - Chemie//grammar tex
1.0//EN">

 <xsl:template match="tex:vsctex">
  <section>
   <xsl:apply-templates select="tex:secbody"/> <!-- Error -->
  </section>
 </xsl:template>

 <xsl:template match="tex:secbody">
[...]

javax.xml.transform.TransformerConfigurationException:
javax.xml.transform.TransformerException:
javax.xml.transform.TransformerException: Extra illegal tokens: ':',
'secbody'


I use the 2.3.1 version. Can anyone tell me if I make an error, or does
the xalan not work correcly?

Thanx, Stephan Michels.





Reply via email to