Article View: pl.comp.xml
Article #9686Re: problem ze spacjami
From: szomiz
Date: Mon, 28 Jan 2008 18:16
Date: Mon, 28 Jan 2008 18:16
31 lines
1935 bytes
1935 bytes
Użytkownik "robert" <roblegWYTNIJTO@poczta.onet.pl> napisał w wiadomości
news:7db6.000000d0.479de588@newsgate.onet.pl...
> Witam,
> mam problem ze spacjami w szablonie, ktory konwertuje xml->html, a
> konkretnie z
> odnosnikami do przypisow. Oto fragment szablonu:
>
> <?xml version="1.0"?>
> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
> version="1.0">
> <xsl:output method="xml" version="1.0" encoding="UTF-8"
> omit-xml-declaration="no" indent="yes" media-type="text/xml"/>
> <xsl:strip-space elements="*"/>
No wlasnie, _elements_
>
> <!-- uklad 1 -->
> <xsl:template match="pr">
> <a name="{@nrc}" href="{concat('#h',@nrc)}">
> <sup>
> <xsl:value-of select="@nrc"/>
A to nie jest element...
> Czy i jak mozna zmusic msxml do tego, by choc pozostanie uklad 1, nie
> bedzie
Moze <xsl:element name="sub"> pomoze?
sz.
Technical Details
Message-ID:
<fnl6h2$4td$1@nemesis.news.tpi.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!opal.futuro.pl!news.internetia.pl!newsfeed.tpinternet.pl!nemesis.news.tpi.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mailReferences:
<7db6.000000d0.479de588@newsgate.onet.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!opal.futuro.pl!news.internetia.pl!newsfeed.tpinternet.pl!nemesis.news.tpi.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail From: "szomiz" <szomiz@kocha.dostawac.reklamy.przez.net> Newsgroups: pl.comp.xml Subject: Re: problem ze spacjami Date: Mon, 28 Jan 2008 19:16:16 +0100 Organization: tp.internet - http://www.tpi.pl/ Lines: 33 Message-ID: <fnl6h2$4td$1@nemesis.news.tpi.pl> References: <7db6.000000d0.479de588@newsgate.onet.pl> Reply-To: "szomiz" <xml@op.pl> NNTP-Posting-Host: hau2.internetdsl.tpnet.pl X-Trace: nemesis.news.tpi.pl 1201544547 5037 79.187.20.2 (28 Jan 2008 18:22:27 GMT) X-Complaints-To: usenet@tpi.pl NNTP-Posting-Date: Mon, 28 Jan 2008 18:22:27 +0000 (UTC) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.3790.2663 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 X-RFC2646: Format=Flowed; Original MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit