r1469 - branches/bxe_2_0/xsl

[email protected]
Newsgroups gmane.editors.bitflux.cvs
Message-ID <[email protected]>
Author: chregu
Date: Thu May  4 16:27:55 2006
New Revision: 1469

Modified:
   branches/bxe_2_0/xsl/transformxsl.xsl
Log:
don't do transformation with value-of and $


Modified: branches/bxe_2_0/xsl/transformxsl.xsl
==============================================================================
--- branches/bxe_2_0/xsl/transformxsl.xsl	(original)
+++ branches/bxe_2_0/xsl/transformxsl.xsl	Thu May  4 16:27:55 2006
@@ -44,7 +44,7 @@
         <xsl:apply-templates select="document(@href)/xsl:stylesheet/xsl:template"/>
     </xsl:template>
 
-    <xsl:template match="xsl:value-of[not (ancestor::xsl:attribute) and not(contains(@select,'('))]|xsl:copy-of">
+    <xsl:template match="xsl:value-of[not (ancestor::xsl:attribute) and not(contains(@select,'$')) and not(contains(@select,'('))]|xsl:copy-of">
     <span> <xsl:element name="attribute" namespace="http://www.w3.org/1999/XSL/Transform">
                 <xsl:attribute name="name">__bxe_id</xsl:attribute>
                     <xsl:element name="value-of" namespace="http://www.w3.org/1999/XSL/Transform">
@@ -99,7 +99,7 @@
        
     </xsl:template>
     
-    <xsl:template match="*[namespace-uri() = '' and ancestor::xsl:template and not(descendant::xsl:value-of[not(contains(@select,'@') and not (contains(@select,'[')) and not( contains(substring-before(@select,'['),'@')))]) and not (descendant::xsl:apply-templates)]">
+    <xsl:template match="*[namespace-uri() = '' and (ancestor::xsl:template ) and not(descendant::xsl:value-of[not(contains(@select,'@') and not (contains(@select,'[')) and not( contains(substring-before(@select,'['),'@')))]) and not (descendant::xsl:apply-templates)]">
 
       <xsl:copy><xsl:call-template name="descendantOfTemplate"/></xsl:copy>
        
-- 
Bx-editor-cvs mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bx-editor-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.