RE: Xml parsing xmlns issue

2005-09-06 Thread gabriel l smallman
Right you are, no idea what that uri is for, the language on the page is a
little vague.

You don't have any clever ideas how to access the variables contained in
stuff like products:price?

Seems to produce a structure but the refference to where the data is
contained would be:

rss.channel.item.products:show_name 

Which of course you cannot access directly, anyone have a simple method of
getting the xml value of products.show_name?

gabe

-Original Message-
From: Massimo Foti [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 06, 2005 4:05 AM
To: CF-Talk
Subject: Re: Xml parsing xmlns issue

> Im not the familiar with namespace usage in xml. When trying to us mx 
> 7 to parse this im getting this message:
>
> "The prefix "xmlns" cannot be bound to any namespace explicitly; 
> neither
can
> the namespace for "xmlns" be bound to any prefix explicitly."
>
> Not sure what these means in plain English. Should the xmlna point to 
> a
dtd
> that defines the elements "products" ?
>
> Any help would be great,

As far as I remember, the http://www.w3.org/2000/xmlns/ uri as a very
special meaning (visit that url to learn more). So you can't use it.

If you change the uri to something else (like
http://www.myself.org/2000/xmlns/) it works.

Hope it could help


Massimo Foti
Tools for ColdFusion and Dreamweaver developers:
http://www.massimocorner.com






~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217424
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54


Re: Xml parsing xmlns issue

2005-09-06 Thread Massimo Foti
> Im not the familiar with namespace usage in xml. When trying to us mx 7 to
> parse this im getting this message:
>
> "The prefix "xmlns" cannot be bound to any namespace explicitly; neither
can
> the namespace for "xmlns" be bound to any prefix explicitly."
>
> Not sure what these means in plain English. Should the xmlna point to a
dtd
> that defines the elements "products" ?
>
> Any help would be great,

As far as I remember, the http://www.w3.org/2000/xmlns/ uri as a very
special meaning (visit that url to learn more). So you can't use it.

If you change the uri to something else (like
http://www.myself.org/2000/xmlns/) it works.

Hope it could help


Massimo Foti
Tools for ColdFusion and Dreamweaver developers:
http://www.massimocorner.com




~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:217416
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54