RE: [xsl] Need expression..

Subject: RE: [xsl] Need expression..
From: "Kotes Mogili" <Kotes.Mogili@xxxxxxxxxxxxxxxxx>
Date: Tue, 3 Feb 2004 16:14:56 -0500
My Context Node is "SiebelMessage".

--kotes

-----Original Message-----
From: Michael Kay [mailto:mhk@xxxxxxxxx]
Sent: Tuesday, February 03, 2004 4:05 PM
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: RE: [xsl] Need expression..


What is your context node at the time this expression is used?

Michael Kay

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx 
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of 
> Kotes Mogili
> Sent: 03 February 2004 20:04
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: [xsl] 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
> 


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


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


Current Thread