difference between xsltc and xalan with nodeset?

Discussion in 'Java' started by Elhanan, May 11, 2006.

  1. Elhanan

    Elhanan Guest

    hi..

    when doing this with jaxp's xsltc :
    <xsl:element name="Mine">

    <xsl:variable name="test_prop"
    select="document($map_doc)//Proposals"/>
    <xsl:value-of select="$test_prop/Proposal[@Id='1']/@Id"/>


    </xsl:element>

    i get <Mine/> as if it didn't find any elements;

    however when doing it with java's 1.4.2 xalan, i get the attribute..

    what's going on.

    i think i'm forced to use xsltc becouse if i use anything else that
    doesn't come with jaxp my code which handle DOM would (like when not
    finding xpath default factory).
    Elhanan, May 11, 2006
    #1
    1. Advertising

  2. Elhanan

    Elhanan Guest

    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. jakk
    Replies:
    4
    Views:
    11,973
  2. Brian J. Sayatovic
    Replies:
    1
    Views:
    669
    Martin Honnen
    Jan 21, 2004
  3. Bryan Galvin
    Replies:
    2
    Views:
    412
    Bryan Galvin
    Sep 29, 2004
  4. cvissy
    Replies:
    0
    Views:
    592
    cvissy
    Nov 16, 2004
  5. Meikel
    Replies:
    0
    Views:
    470
    Meikel
    Jan 17, 2005
Loading...

Share This Page