Loading ...
Sorry, an error occurred while loading the content.

Re: [XSL-FO] difference bet copy-of and copy

Expand Messages
  • Dave Pawson
    ... Yes, but your question should be directed to xsl list at Mulberrytech.com That way, others would learn from any answers. regards -- Dave Pawson XSLT XSL-FO
    Message 1 of 4 , Jan 22, 2007
    • 0 Attachment
      mina_hurray wrote:
      > Ca anyone explain the difference between copy-of and copy in xslt?

      Yes, but your question should be directed to xsl list
      at Mulberrytech.com

      That way, others would learn from any answers.




      regards

      --
      Dave Pawson
      XSLT XSL-FO FAQ.
      http://www.dpawson.co.uk
    • Chris Bowditch
      ... yes of course. copy just copies a single node to the result tree. copy-of copies a complete node tree to the result tree. BTW, pure XSLT questions are
      Message 2 of 4 , Jan 22, 2007
      • 0 Attachment
        mina_hurray wrote:

        >
        >
        > Ca anyone explain the difference between copy-of and copy in xslt?

        yes of course. copy just copies a single node to the result tree.
        copy-of copies a complete node tree to the result tree.

        BTW, pure XSLT questions are better off being asked on an XSLT list such
        as the Mulberry list.

        http://www.mulberrytech.com/xsl/xsl-list/

        Chris


        >
        >
      • G. Ken Holman
        XSLT and XPath questions would be better posted to the following list: http://www.mulberrytech.com/xsl/xsl-list There are a number of subscribers who would
        Message 3 of 4 , Jan 22, 2007
        • 0 Attachment
          XSLT and XPath questions would be better posted to the following list:

          http://www.mulberrytech.com/xsl/xsl-list

          There are a number of subscribers who would enthusiastically respond
          to such questions.

          There is also an *excellent* XSLT FAQ at:

          http://www.dpawson.co.uk

          and XML FAQ at:

          http://xml.silmaril.ie/

          At 2007-01-22 15:56 +0000, mina_hurray wrote:
          >Ca anyone explain the difference between copy-of and copy in xslt?

          <xsl:copy-of> is a "deep copy" copying all addressed nodes and their
          descendants down to the leaves of the XPath node tree.

          <xsl:copy> is a "shallow copy" copying only the current node.

          I hope this helps.

          . . . . . . . . . . . . Ken

          --
          World-wide corporate, govt. & user group XML, XSL and UBL training
          RSS feeds: publicly-available developer resources and training
          G. Ken Holman mailto:gkholman@...
          Crane Softwrights Ltd. http://www.CraneSoftwrights.com/f/
          Box 266, Kars, Ontario CANADA K0A-2E0 +1(613)489-0999 (F:-0995)
          Male Cancer Awareness Aug'05 http://www.CraneSoftwrights.com/f/bc
          Legal business disclaimers: http://www.CraneSoftwrights.com/legal
        Your message has been successfully submitted and would be delivered to recipients shortly.