xsl-list
[Top] [All Lists]

[xsl] What will be my XPATH is I have just single node on XML file with attributes?

2006-03-08 16:34:50
Hello,

I am trying to load values from XML file below. Which has just root node and attributes. I am using PL/SQL to extract the values. Isn't my XPATH /RPSL_PTNR(_at_)ptnr_id to get value for ptnr_id? It is giving me null. What am I doing wrong?



<RPSL_PTNR
address_1="350 SOUTH 5TH"
address_2="ROOM 127"
address_3=""
address_4=""
address_5=""
antiboycott_ind="N"
city="MINNEAPOLIS"
ctry_code="CU"
ctry_name="Cuba"
decision="C"
epci_ind="Y"
euembargo_ind="N"
name_1="Unisys Corp."
postal_code="55415"
proscribed_ind="Y"
ptnr_id="31942"
ptnr_type="SHIP_TO"
request_url="https://testxmlfulfill.networkgeneral.com/normal/oraapps/dev/ReceiveVastraXML";
rpl_ind="N"
state_code="MN"
state_name="MN"
sub_org="NGEN"
unembargo_ind="N"
usembargo_ind="Y"
user_varchar1="2009794"
user_varchar2="125685"
user_varchar3=""/>



--~------------------------------------------------------------------
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>
--~--