Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] absolute [OT]: html tags in xml xsl
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) Diskussionsforum
View previous topic :: View next topic  
Author Message
_hephaistos_
Advocate
Advocate


Joined: 07 Apr 2004
Posts: 2694
Location: salzburg, austria

PostPosted: Sun Aug 29, 2004 5:26 pm    Post subject: Reply with quote

so, hier meine lösung (verspätet, weil ich ein wenig auf urlaub war :))

wollte was absolut kurzes:
xml struktur:
Code:

<content>
   hier steht html text in <b>bold</b><br />auch breaks funktionieren...
</content>


xsl sheet:
Code:

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" encoding="UTF-8" indent="yes" />
   <xsl:template match="content/*">   
      <xsl:copy-of select="." />
   </xsl:template>
</xsl:stylesheet>


thx für eure hilfe!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) Diskussionsforum All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum