adspace


How do I use prefixes to refer to element type and attribute names in an xml namespace?

Answer Posted / Varun Kumar Gupta

Prefixes are used to uniquely identify a specific XML namespace. You can assign a unique prefix to each namespace and then use this prefix along with the colon symbol (:) when referring to elements or attributes within that namespace. For example, "xmlns:prefix="URI"" declares a namespace with prefix 'prefix' and URI 'URI', and you would use 'prefix:elementName' to refer to an element in that namespace.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Do you feel that you have chosen the right technology xslt? : xslt

901


What are the ways to add styles to html?

993


Are you ready to relocate? : xslt

917


Do you feel that you are a good xslt programmer? : xslt

868