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]

Re: copy-of question



> It probably is related to the default rules.  Do you have <xsl:template
> match="/"> doing nothing?

Yes. The default rules gives  the unmatched elements back as unformattet
text I guess.
Coult You give me an example to extract only an element out of a huge xml?





> PC2
>
> -----Original Message-----
> From: Franz Figl [mailto:frafi@augusta.de]
> Sent: April 18, 2001 14:18
> To: xsl-list@lists.mulberrytech.com
> Subject: Re: [xsl] copy-of question
>
>
> Rick,
>
> there is nothing wrong with the copy-of: I want a full deep original table
> element, and I have it.
> But I want to exclude all the other tags!
>
>
>
> </snip>
> >
> >
> > Hi all,
> >
> > how can I extract only one element in original form?
> > copy-of seems to work here, but I have all the other unwanted tags also
as
> > plain text.
> > Is this related to the default rules?
> >
> >   <xsl:template match="TABLE">
> >     <xsl:copy-of select="."/
> >   </xsl:template>
> >
> >  Franz
> >
>
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
>
>


 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]