Hello,
The consumer of my xfire service has requested that I remove the xmlns
attribute from the child elements of AttractionDTO.  If you see below,
xfire is not setting the xmlns attribute for child elements of the
physicalAddressDTO.

Why would xfire set the xmlns attribute for the AttractionDTO object,
and not the physicalAddressDTO?

The reason we would like to do this is that we are doing an XSL
transformation of what xfire returns and this makes xpath expressions
easier.


Thanks, xfire is rocking for me.
Phillip

Example xfire xml:

<?xml version="1.0" encoding="utf-8"?>
<ArrayOfAttractionDTO
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
        xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
        <AttractionDTO>
                <attractionId
xmlns="http://dto.dmi.reffects.com";>78059</attractionId>
                <bookItUrl xsi:nil="true"
xmlns="http://dto.dmi.reffects.com"/>
                <couponDtos xsi:nil="true"
xmlns="http://dto.dmi.reffects.com"/>
                <diningNearbyAttractions xsi:nil="true"
                        xmlns="http://dto.dmi.reffects.com"/>
                <emailAddress xsi:nil="true"
xmlns="http://dto.dmi.reffects.com"/>
                <freeSetting xsi:nil="true"
xmlns="http://dto.dmi.reffects.com"/>
                <imageDTOs xsi:nil="true"
xmlns="http://dto.dmi.reffects.com"/>
                <imageGalleryDTOs xsi:nil="true"
xmlns="http://dto.dmi.reffects.com"/>
                <keywords xmlns="http://dto.dmi.reffects.com";>allegheny
biking trail
                        bikes</keywords>
                <lodgingNearbyAttractions xsi:nil="true"
                        xmlns="http://dto.dmi.reffects.com"/>
                <mailingAddress xsi:nil="true"
xmlns="http://dto.dmi.reffects.com"/>
                <otherNearbyAttractions xsi:nil="true"
                        xmlns="http://dto.dmi.reffects.com"/>
                <paidAd xmlns="http://dto.dmi.reffects.com";>N</paidAd>
                <photoUrl xsi:nil="true"
xmlns="http://dto.dmi.reffects.com"/>
                <physicalAddressDTO xmlns="http://dto.dmi.reffects.com";>
                        <addressId>78059</addressId>
                        <faxNumber xsi:nil="true"/>
                        <handicapAccess>N</handicapAccess>
                        <latitude>40.457548</latitude>
                        <longitude>-79.741527</longitude>
        
<longitudeLatitudeOverride>false</longitudeLatitudeOverride>
                        <phoneNumber>724-733-4665</phoneNumber>
                        <streetAddress>675 Old Frankstown
Rd.</streetAddress>
                        <streetAddress2 xsi:nil="true"/>
                        <zipCodeDTO>
                                <city>PITTSBURGH</city>
                                <state>PA</state>
                                <zipCode>15239</zipCode>
                        </zipCodeDTO>
                </physicalAddressDTO>
                <printAdvertisingUrl xsi:nil="true"
xmlns="http://dto.dmi.reffects.com"/>
                <source xsi:nil="true"
xmlns="http://dto.dmi.reffects.com"/>
                <url xsi:nil="true"
xmlns="http://dto.dmi.reffects.com"/>
                <viewable
xmlns="http://dto.dmi.reffects.com";>true</viewable>
                <weatherDTO xsi:nil="true"
xmlns="http://dto.dmi.reffects.com"/>
        </AttractionDTO>
</ArrayOfAttractionDTO>

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to