Subject: Re: copy-of question
From: "Franz Figl" <frafi@xxxxxxxxxx>
Date: Wed, 18 Apr 2001 23:49:21 +0200
|
> 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@xxxxxxxxxx]
> Sent: April 18, 2001 14:18
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject: Re: 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
|