[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Need expression..

Subject: Need expression..
From: "Kotes Mogili" <Kotes.Mogili@xxxxxxxxxxxxxxxxx>
Date: Tue, 3 Feb 2004 15:03:38 -0500
i need expression
Hi,

I want to go to a node directly through XPath expression. For example I need to select AddressLine1 from CutAddress where AddressType='Service'. 
Currently I am using
.//*[AddressType='Service']/AddressLine1. But when I use .//CutAddress[AddressType='Service']/AddressLine1 it is not working.Can anybody correct me??


Thanks
Kotes


<SiebelMessage MessageId="" MessageType="Integration Object" IntObjectName="Txn 28 IO">
    <VitriaDescriptionOut028>
        <Account>
             <ListOfAccountSalesInfo>
                <AccountSalesInfo>
                    <LDLocal>Local</LDLocal>
                    <SalesAgentCode/>
                    <SalesContact/>
                    <SalesSourceCode/>
                </AccountSalesInfo>
                <AccountSalesInfo>
                    <LDLocal>LD</LDLocal>
                    <SalesAgentCode/>
                    <SalesContact/>
                    <SalesSourceCode/>
                </AccountSalesInfo>
            </ListOfAccountSalesInfo>
            <ListOfCutAddress>
                <CutAddress>
                    <AddressLine1>365 HUNTSMILL BLVD</AddressLine1>
                    <AddressLine2/>
                    <AddressName/>
                    <AddressType>Service</AddressType>
                    <City>SCARBOROUGH</City>
                    <PostalCode>M1W2Y9</PostalCode>
                    <State>ON</State>
                </CutAddress>
                <CutAddress>
                    <AddressLine1>366 HUNSTMILL BLVD</AddressLine1>
                    <AddressLine2/>
                    <AddressName/>
                    <AddressType>Billing</AddressType>
                    <City>SCARBOROUGH</City>
                    <PostalCode>M1W2Y9</PostalCode>
                    <State>ON</State>
                </CutAddress>
                <CutAddress>
                    <AddressLine1>364 HUNTSMILL BLVD</AddressLine1>
                    <AddressLine2/>
                    <AddressName/>
                    <AddressType>Main</AddressType>
                    <City>SCARBOROUGH</City>
                    <PostalCode>M1W2Y9</PostalCode>
                    <State>ON</State>
                </CutAddress>
            </ListOfCutAddress>
            
          </Account>
    </VitriaDescriptionOut028>
</SiebelMessage>

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.