|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Adding namespaces with copy-of
Hello, is there a possibility to copy an element into another namespace with means of <xsl:copy-of> ? What I want to do is the next. I have two xml files, one that uses a DTD as model and has no namespaces declared and one that uses a schema as model (and has a namespace declared). Now, I want to create a new file with elements of both the files in it. The result file will have a DTD as model and no namespaces declared. Therefore I wanted to copy an element in no namespace. After looking on the web I found that this doesn't seems to be possible. So now I have used templates instead of the copy-of. Why isn't it possible to copy an element in another namespace ? This doesn't seem unlogical to me. Kind regards, Ismaël XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








