Im trying to use an ID I get in my xml to add it to an <a href="">
link but am having some problems displaying this correctly. If I
display the xml element outside of the link it displays properly.
<a href="/Category.cfm?
categoryID=">#xRows.xmlChildren[name].productID#</a>
But when I add it into the href element like this:
<a href="/Category.cfm?categoryID=#xRows.xmlChildren[name
].productID#">#xRows.xmlChildren[name].description#</a>
#xRows.xmlChildren[name].productID#
it falls apart and displays it like this:
1234">
and the link is:
CategoryID=<?xml version...
How do I get it to display the [productID] only and not include all the xml header elements?
Im kind of new to working with xml so im sure its something obvious im
overlooking.
Thanks
link but am having some problems displaying this correctly. If I
display the xml element outside of the link it displays properly.
<a href="/Category.cfm?
categoryID=">#xRows.xmlChildren[name].productID#</a>
But when I add it into the href element like this:
<a href="/Category.cfm?categoryID=#xRows.xmlChildren[name
].productID#">#xRows.xmlChildren[name].description#</a>
#xRows.xmlChildren[name].productID#
it falls apart and displays it like this:
1234">
and the link is:
CategoryID=<?xml version...
How do I get it to display the [productID] only and not include all the xml header elements?
Im kind of new to working with xml so im sure its something obvious im
overlooking.
Thanks