OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

get namespaced attributes with getQualifiedItem, getNamedItem



MSXML 3.0:
providing this definition on a DOM
p_defdom.setProperty "SelectionLanguage", "XPath"
p_defdom.setProperty "SelectionNamespaces", "xmlns:aaa='dianos.com/dealerwizard/instrdef'

i can get myattr from this node
<xmlns:myattr="xmlns:instrdef='dianos.com/dealerwizard/instrdef'>
<a instrdef:myattr="xx"/>

using p_DefElement.selectNodes("@aaa:myattr")

still i couldn't have working getQualifiedItem using getQualifiedItem("myattr","aaa").
do i need to go to XPATH to use namespace alias ?
thank,
 
Enrico Sabbadin: esabbadin@vb2themax.com
http://www.sabbasoft.com
MTS/COM+ / VB-COM FAQ: http://www.sabbasoft.com/mts_faq.htm