[ http://issues.apache.org/jira/browse/XALANJ-1801?page=history ]

dcaveney updated XALANJ-1801:
-----------------------------

    Attachment: NodesetElementByName_works.txt

The attached file uses the suggested namespace changes and the elements can now 
be accessed by name. 

> Can't access attributes by name from a nodeset()
> ------------------------------------------------
>
>          Key: XALANJ-1801
>          URL: http://issues.apache.org/jira/browse/XALANJ-1801
>      Project: XalanJ2
>         Type: Bug
>   Components: Xalan-interpretive, transformation
>     Versions: CurrentCVS
>  Environment: Operating System: Windows XP
> Platform: PC
>     Reporter: dcaveney
>     Assignee: Xalan Developers Mailing List
>  Attachments: NodesetElementByName.txt, NodesetElementByName_works.txt, 
> nodelist_result.txt, nodelist_test.txt
>
> Attributes in elements retrieved using the xalan:nodelist() function can't be 
> retrieved by name:
>  <value-of select="xalan:nodeset($books)/*[1]/@*[1]"/> is OK 
> but,
>  <value-of select="xalan:nodeset($books)/*[1]/@author"/> returns nothing.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to