Hi, I have the following XML

<ext-link xlink:href="http://....com">www....com</ext-link>

in my xslt, when I have
...
<ext-link xlink:href="{@xlink:href}">
....

When I ran it, it gave me error "
namesapce error : namespace prefix xlink for href on ext-link is not defined.
I tried to use "xlink\:href", it didn't work.

How to call this attribute??
Thanks a lot!!

Recommended Answers

All 2 Replies

Thanks a lot!!!!!!
This solved the problem.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.