This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Adding namespace nodes question



Hi folks,

Suppose I have this XML:

<elem name="myElem">
 <ns type="own" prefix="">http://www.domain1.org/ns</ns>
 <ns type="extra" prefix="pre2">http://www.domain2.org/ns</ns>
 <ns type="extra" prefix="pre3">http://www.domain3.org/ns</ns>
</elem>

Which actually represents the this XML:

<myElem xmlns="http://www.domain1.org/ns";
 xmlns:pre2="http://www.domain2.org/ns"; 
 xmlns:pre3="http://www.domain3.org/ns"; />

What is the most efficient method to add these namespaces to the element
in the result tree?

Thanks for your time.

Kindest regards,

Manos

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]