xsl-list
[Top] [All Lists]

RE: [xsl] Special characters and Transformation

2006-05-05 04:06:44
"Khorasani, Houman" wrote:

My problem here is the for-each statement 

<xsl:for-each select="root/TEXT">

Because root has a namespace: 

<root xmlns="http://www.foo.com";>

So I have to make my for-each element to understand that the "root"
with the following namespace

  You have to use the namespace prefixes bound in that context.  For
example:

    <xsl:for-each select="f:root/TEXT"
                  xmlns:f="http://www.foo.com";>

  Regards,

--drkm



























        

        
                
___________________________________________________________________________ 
Faites de Yahoo! votre page d'accueil sur le web pour retrouver directement vos 
services préférés : vérifiez vos nouveaux mails, lancez vos recherches et 
suivez l'actualité en temps réel. 
Rendez-vous sur http://fr.yahoo.com/set

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--