Jump to content

How do I display US standard address in one line?


winkimjr2

Recommended Posts

I have XML address and want the result to be one line like this:123 E Rubble ALY E, Bedrock, DC, 65401How do I do it in XSLT?XML Address Elements

<Address InternalAddressID="1618207867" Type="Standard">   <Location Word="HOME">Home</Location>   <AddressLine2>123 E Rubble ALY E</AddressLine2>   <AddressLine4>Bedrock, DC, 65401</AddressLine4>   <Block>123</Block>   <PreDir Word="E">East</PreDir>   <Street>Rubble</Street>   <AddrSfxKy Word="ALY">Alley</AddrSfxKy>   <PostDir Word="E">East</PostDir>   <City>Bedrock</City>   <State>DC</State>   <Zip>65401</Zip></Address>
Link to comment
Share on other sites

 

I have XML address and want the result to be one line like this:123 E Rubble ALY E, Bedrock, DC, 65401How do I do it in XSLT?XML Address Elements

<Address InternalAddressID="1618207867" Type="Standard">   <Location Word="HOME">Home</Location>   <AddressLine2>123 E Rubble ALY E</AddressLine2>   <AddressLine4>Bedrock, DC, 65401</AddressLine4>   <Block>123</Block>   <PreDir Word="E">East</PreDir>   <Street>Rubble</Street>   <AddrSfxKy Word="ALY">Alley</AddrSfxKy>   <PostDir Word="E">East</PostDir>   <City>Bedrock</City>   <State>DC</State>   <Zip>65401</Zip></Address>

Done

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...