Hi,

I'm creating an xml element using XMLElemNew(doc, "dc:subject") for my xml 
document.
When creating the element, CF resolves the namespace from the dc prefix and 
adds it as an attribute:
<dc:subject xmlns:dc="http://purl.org/dc/elements/1.1/";>Text</dc:subject>

Now is there a way to create a node without the xmlns attribute? I tried giving 
an empty string to the method XMLElemNew(doc, "", "dc:subject") but that will 
end up looking like that:
<dc:subject xmlns:dc="">Text</dc:subject>

Of course I could remove the attribute manually after creating the element, but 
that wouldn't be very elegant.

Thanks in advance. 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319180
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