Click here to Skip to main content
14,428,725 members
   

XML / XSL

 
GeneralRe: xsl:apply-templates help please! Pin
Stuart Dootson6-Jul-10 5:37
professionalStuart Dootson6-Jul-10 5:37 
AnswerRe: xsl:apply-templates help please! Pin
Stuart Dootson6-Jul-10 5:14
professionalStuart Dootson6-Jul-10 5:14 
GeneralRe: xsl:apply-templates help please! Pin
Neophyte306-Jul-10 6:47
MemberNeophyte306-Jul-10 6:47 
GeneralRe: xsl:apply-templates help please! Pin
Stuart Dootson6-Jul-10 15:38
professionalStuart Dootson6-Jul-10 15:38 
QuestionHow to upload an Xml Schema to my ftp server and have Visual Studio provide intellisense for it? Pin
WebMaster1-Jul-10 3:07
MemberWebMaster1-Jul-10 3:07 
AnswerRe: How to upload an Xml Schema to my ftp server and have Visual Studio provide intellisense for it? Pin
Not Active1-Jul-10 3:38
mentorNot Active1-Jul-10 3:38 
GeneralRe: How to upload an Xml Schema to my ftp server and have Visual Studio provide intellisense for it? Pin
WebMaster1-Jul-10 4:11
MemberWebMaster1-Jul-10 4:11 
Questiontransformed cdata content not escaping properly (or atleast the way i want it it) Pin
nyhtal30-Jun-10 20:59
Membernyhtal30-Jun-10 20:59 
need a little help with this one please.

i have an xml document that contains nodes with cdata sections and am transforming it with xsl. i can get the cdata section to render properly by using <xsl:value-of select="content" disable-output-escaping="yes"/> in my <xsl:template> but if i try to pass the results of that template to another template my cdata section becomes escaped. i tried converting the cdata section to an escaped attribute in my xml but get the same problem.

even an answer of "sorry, not possible." is greatful as i've been trying everything i can think of to get this to work and have come up with nothing.

i can restructure my xml if need be, only i cannot convert the cdata content to valid xml (it needs to be escaped).

sample code:

<xsl:template match="/">
<xsl:variable name="myStructuredContent"><xsl:call-template name="GetStructuredContent"/></xsl:variable>

<xsl:call-template name="Container_RoundedCorners">
<xsl:with-param name="content" select="$myStructuredContent">
</xsl:call-template>
</xsl:template>

<xsl:template name="GetStructuredContent">
<h2><xsl:value-of select="title"/></h2>
<div><xsl:value-of select="content" disable-output-escaping="yes"/></div>
<div><a href="{morelinkhref}"><xsl:value-of select="morelinktext"/></a></div>
</xsl:template>

<xsl:template name="Container_RoundedCorners">
<xsl:param name="content"/>
<div class="RoundedCornerTopLeft"><div class="RoundedCornerTopRight"><xsl:copy-of select="$content"/></div></div>
</xsl:template>

thanks a bazillion in advance.
QuestionVXML Pin
muka6629-Jun-10 5:15
Membermuka6629-Jun-10 5:15 
QuestionHow to create xmpp client using C#? Pin
manjeeet18-Jun-10 0:13
Membermanjeeet18-Jun-10 0:13 
Answercross-post Pin
Luc Pattyn18-Jun-10 3:27
sitebuilderLuc Pattyn18-Jun-10 3:27 
QuestionError in running ASP.NET C# (MySql) site Pin
Dot-Net-Dev16-Jun-10 18:24
MemberDot-Net-Dev16-Jun-10 18:24 
QuestionBeginner help to tag Bold text in DocBook v5 for XML export [modified] Pin
keeta116-Jun-10 13:06
Memberkeeta116-Jun-10 13:06 
QuestionWrite XSL for this xml i want to convert xml to CSV formt Pin
ksanju100012-Jun-10 10:14
Memberksanju100012-Jun-10 10:14 
AnswerRe: Write XSL for this xml i want to convert xml to CSV formt Pin
SeMartens15-Jun-10 22:10
MemberSeMartens15-Jun-10 22:10 
Questionwriting to xml file Pin
Farraj8-Jun-10 18:17
MemberFarraj8-Jun-10 18:17 
AnswerRe: writing to xml file Pin
Stuart Dootson9-Jun-10 3:13
professionalStuart Dootson9-Jun-10 3:13 
GeneralRe: writing to xml file Pin
Farraj9-Jun-10 5:39
MemberFarraj9-Jun-10 5:39 
AnswerRe: writing to xml file Pin
Estys9-Jun-10 6:22
MemberEstys9-Jun-10 6:22 
GeneralRe: writing to xml file Pin
Farraj9-Jun-10 9:42
MemberFarraj9-Jun-10 9:42 
QuestionHow to access xml file simultaneously at runtime Pin
Raghu_M21-May-10 6:12
MemberRaghu_M21-May-10 6:12 
QuestionUsing SAX and PHP Pin
vho12318-May-10 21:22
Membervho12318-May-10 21:22 
QuestionXSLT and asp.NET mixture Pin
ceviz16-May-10 14:02
Memberceviz16-May-10 14:02 
AnswerRe: XSLT and asp.NET mixture Pin
Not Active16-May-10 18:08
mentorNot Active16-May-10 18:08 
AnswerRe: XSLT and asp.NET mixture Pin
Atwind28-Jun-10 0:42
MemberAtwind28-Jun-10 0:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.