Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

In XSL, How Do I Prevent the Namespace Definition from Being Repeated For Each Element?

0
Posted

In XSL, How Do I Prevent the Namespace Definition from Being Repeated For Each Element?

0

Question My second question relates to namespaces. I have the following piece of code in my stylesheet: @ipet:dataBindingObject At the top of my stylesheet, I have defined the marlin namespace: xmlns:data=”http://xxx.us.yyy.com/cabo/marlin” In the resulting XML file (the marlin UIX file), the namespace definition is repeated for each element: Answer Try defining the data namespace prefix on the document element in your XSLT root template. If it is defined at a higher level in the result tree we may notice that and not output it on each lower level element. JDeveloper9i has virtual Virtual Objects (VOs) that expose the metadata of aVO kind of like the database X$ views. This means that you could use the norm

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123