Wrox Programmer Forums
Go Back   Wrox Programmer Forums > XML > XSLT
|
XSLT General questions and answers about XSLT. For issues strictly specific to the book XSLT 1.1 Programmers Reference, please post to that forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the XSLT section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 22nd, 2014, 09:48 AM
Friend of Wrox
 
Join Date: Apr 2013
Posts: 101
Thanks: 14
Thanked 0 Times in 0 Posts
Default How do I display US standard address in one line?

I have XML address and want the result to be one line like this:

123 E Rubble ALY E, Bedrock, DC, 65401

How do I do it in XSLT?

XML Address Elements

Code:
<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>
 
Old October 26th, 2014, 03:37 PM
Authorized User
 
Join Date: Oct 2014
Posts: 13
Thanks: 1
Thanked 4 Times in 4 Posts
Default RE: How do I display US standard address in one line?

What is your desired output format for the transformation? HTML, XML, etc...?

Chad Darby
www.luv2code.com





Similar Threads
Thread Thread Starter Forum Replies Last Post
display querystring in address bar europhreak Classic ASP Basics 1 February 16th, 2006 01:43 PM
how to tidy up the address line Adam H-W Classic ASP Basics 1 September 21st, 2004 11:58 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.