xsl-list
[Top] [All Lists]

Re: xsl:copy-of misuse?

2003-05-14 15:35:18
Consider telling us what your XML looks like.
You probably want <xsl:value-of select="documentation"/> though.

Holbrook, R Cody (Cody) wrote:
I'm using the following:

      <xsd:annotation>                                
              <xsd:documentation>                                     
                      <xsl:copy-of select="documentation/."/>                 
        
              </xsd:documentation>                    
      </xsd:annotation>       

and I'm outputing:

      <xsd:annotation>
              <xsd:documentation>
                      <documentation>
      Put summary here. Also put full description here.
                      </documentation>
              </xsd:documentation>
      </xsd:annotation>               

What I'd like to get:

      <xsd:annotation>
              <xsd:documentation>
      Put summary here. Also put full description here.
              </xsd:documentation>
      </xsd:annotation>               

I've been fumbling around this and I can't seem to get the <xsl:copy 
select="?"> correct.

Thanks.

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


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



<Prev in Thread] Current Thread [Next in Thread>