On 12/11/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
wrote:
>
>
> My code ...
>    <address>
>     <name>#trim(FirstName)# #trim(MidInit)# #trim(LastName)#</name>
>     <address1>#trim(Address1)#</address1>
>     <address2>#trim(Address2)#</address2>
>     <city>#trim(City)#</city>
>     <state>#trim(StateOrProvince)#</state>
>     <country>United States</country>
>     <postalCode>#trim(PostalCode)#</postalCode>
>    </address>
>
> What get's written to my XML file ... (addres2 is missing it's beginning
> tag)
>
>    <address>
>     <name>MARY ANN  SCRODIN</name>
>     <address1>659 RT 10</address1>
>             <address2/>
>     <city>Germantown</city>
>     <state>NY</state>
>     <country>United States</country>
>     <postalCode>12526</postalCode>
>    </address>
>
>
> Thanks



This is still valid xml... are you running into issue somewhere else with
it? If an element is empty then just the closing tag is needed.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:294535
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to