The elements do not fall into document('').

Posted by Kalinin on Stack Overflow See other posts from Stack Overflow or by Kalinin
Published on 2010-06-15T14:27:09Z Indexed on 2010/06/15 14:52 UTC
Read the original article Hit count: 160

Filed under:
|

xslt:

<my:translations xmlns:my="my:my">
    <w e="name" r="????????"/>
    <w e="model" r="??????"/>
    <w e="year" r="???"/>
    <w e="glass_type" r="???"/>
    <w e="scancode" r="???????"/>
    <w e="eurocode" r="???????"/>
    <w e="comment" r="???????????"/>
    <w e="glass_size" r="??????"/>
    <w e="vendor" r="?????????????"/>
    <w e="trademark" r="???????? ?????"/>
    <w e="fprice" r="????"/>
</my:translations> 

<xsl:value-of select="count(document('')//w)"/>

returns 0.

In what may be the problem?

© Stack Overflow or respective owner

Related posts about xslt

Related posts about namespaces