Skip to Content
author's profile photo Former Member
Former Member

XSL help required.

Hi,

I am using the <xsl:copy-of> element to create a xml structure.

The output seems to be fine, except that, the nodes have a namespace attached to it. <i>copy-of</i> seems to be copying the current nodes and its child nodes "with namespace".

Is there any xsl element which has the same functionality of copy-of but which ignores namespaces while copying?

Regards,

Smitha.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Aug 29, 2006 at 08:57 AM

    Hi Smitha,

    Try using 'Value-of'. This will copy only the value of the source node.

    Cheers

    JK

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 29, 2006 at 08:55 AM

    Hi,

    send the input and desired output

    maybe we'll be able to help you 😊

    Regards,

    michal

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.