Article View: pl.comp.xml
Article #10215Re: XSL na uzyskanie tekstu bez elementow wewnetrznych
From: szomiz
Date: Fri, 18 Sep 2009 10:45
Date: Fri, 18 Sep 2009 10:45
22 lines
1444 bytes
1444 bytes
Użytkownik "Piotr" <scribbler@quill-driver.org> napisał w wiadomości
news:h8vhos$6m5$1@news.onet.pl...
> Mam na przyklad tekst:
>
> <text>To jest <g>tekst</g> ze <z>smieciami</z> w srodku</text>
>
> A chcciałbym uzyskać:
>
> <text>To jest tekst ze smieciami w srodku</text>
>
> Jak to zrobic?
A jak to teraz robisz?
> Z gory dzieki. :-)
<xsl:template match="text//*">
<xsl:apply-templates/>
</xsl:template>
sz.
Technical Details
Message-ID:
<h8vovi$4d1$1@nemesis.news.neostrada.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.onet.pl!newsfeed.neostrada.pl!atlantis.news.neostrada.pl!news.neostrada.pl!not-for-mailReferences:
<h8vhos$6m5$1@news.onet.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.onet.pl!newsfeed.neostrada.pl!atlantis.news.neostrada.pl!news.neostrada.pl!not-for-mail From: "szomiz" <szomiz@kocha.dostawac.reklamy.przez.net> Newsgroups: pl.comp.xml Subject: Re: XSL na uzyskanie tekstu bez elementow wewnetrznych Date: Fri, 18 Sep 2009 12:45:26 +0200 Organization: TP - http://www.tp.pl/ Lines: 23 Message-ID: <h8vovi$4d1$1@nemesis.news.neostrada.pl> References: <h8vhos$6m5$1@news.onet.pl> Reply-To: "szomiz" <xml@op.pl> NNTP-Posting-Host: hau2.internetdsl.tpnet.pl Mime-Version: 1.0 X-Trace: nemesis.news.neostrada.pl 1253271347 4513 79.187.20.2 (18 Sep 2009 10:55:47 GMT) X-Complaints-To: usenet@news.neostrada.pl NNTP-Posting-Date: Fri, 18 Sep 2009 10:55:47 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3598 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit