Click here to Skip to main content
15,914,240 members
Home / Discussions / XML / XSL
   

XML / XSL

 
Questionhow to use xsl file in vc++ resources Pin
mahesh.mundra7-Mar-04 22:29
mahesh.mundra7-Mar-04 22:29 
AnswerRe: how to use xsl file in vc++ resources Pin
Lee Fuller8-Mar-04 4:30
Lee Fuller8-Mar-04 4:30 
Generaltransformation problem in win2000 Pin
mahesh.mundra7-Mar-04 22:24
mahesh.mundra7-Mar-04 22:24 
GeneralXSLT for XML attributes Pin
act_x7-Mar-04 8:39
act_x7-Mar-04 8:39 
GeneralRe: XSLT for XML attributes Pin
boogs7-Mar-04 20:33
boogs7-Mar-04 20:33 
GeneralRe: XSLT for XML attributes Pin
Jiten_Soni29-Mar-04 2:07
Jiten_Soni29-Mar-04 2:07 
GeneralXslt debugger tools recognize <msxsl:script> Pin
Firas Rashid7-Mar-04 0:25
Firas Rashid7-Mar-04 0:25 
Questiongetting start and end text in a node? Pin
Roger Alsing6-Mar-04 9:58
Roger Alsing6-Mar-04 9:58 
Hi,

i have a html'ish xml that i want to transform into real html . like this:

"some plain text <bold>somebold <italic>some bold-italic text</italic> more bold </bold> more plain text"

i want to output that to html like this:
"some plain text <b>somebold <i>some bold-italic text</i> more bold </b> more plain text"
how do i do this?

ive created an xslt file that contains a match tag for each of my custom tags.
like this:

<xsl:template match="italic"><br />
	<i>***<br />
	<xsl:value-of select="*"/>		<br />
	<xsl:apply-templates select="*"/><br />
	***</i><br />
</xsl:template>


the problem is that i dont know how to output the text inside the tags in a good way..

take the following sample

"<bold>hello<italic>this</italic>is a <italic>test</italic>blabla</bold>"

how can i do to make "hello","is a","blabla" to be outputted as bold text?
if i do as above with the value-of , it just outputs the whole innertext as a single string and then applies the templates..

//Roger
AnswerRe: getting start and end text in a node? Pin
Philip Fitzsimons9-Mar-04 6:18
Philip Fitzsimons9-Mar-04 6:18 
Generalquick perl question Pin
AdventureBoy5-Mar-04 6:56
AdventureBoy5-Mar-04 6:56 
GeneralRe: quick perl question Pin
Michael Dunn6-Mar-04 17:36
sitebuilderMichael Dunn6-Mar-04 17:36 
GeneralXML/XSL Project Pin
Ratnakar Pedagani4-Mar-04 11:25
Ratnakar Pedagani4-Mar-04 11:25 
GeneralHelp me to get best XML Parser. Pin
.NetRams2-Mar-04 19:17
.NetRams2-Mar-04 19:17 
GeneralRe: Help me to get best XML Parser. Pin
ian mariano3-Mar-04 10:56
ian mariano3-Mar-04 10:56 
GeneralXML schema for VBProj files Pin
Priyananda1-Mar-04 21:16
Priyananda1-Mar-04 21:16 
GeneralTutorial. Pin
Prakash Nadar1-Mar-04 5:19
Prakash Nadar1-Mar-04 5:19 
GeneralRe: Tutorial. Pin
Nick Parker1-Mar-04 9:44
protectorNick Parker1-Mar-04 9:44 
GeneralRe: Tutorial. Pin
ssm12268-Mar-04 16:04
ssm12268-Mar-04 16:04 
Generalto retreive value of a specific attribute Pin
Dpriya1-Mar-04 1:42
Dpriya1-Mar-04 1:42 
Generalpassword protect an xml file Pin
mahesh_chikoo25-Feb-04 2:59
mahesh_chikoo25-Feb-04 2:59 
GeneralRe: password protect an xml file Pin
Clickok25-Feb-04 15:07
Clickok25-Feb-04 15:07 
GeneralMSXML: troubles with &quot;insertBefore&quot; in Microsoft Visual C++ Pin
Bash24-Feb-04 23:19
Bash24-Feb-04 23:19 
GeneralLarge XML File Pin
Clickok24-Feb-04 6:08
Clickok24-Feb-04 6:08 
GeneralRe: Large XML File Pin
ian mariano26-Feb-04 1:52
ian mariano26-Feb-04 1:52 
GeneralRe: Large XML File Pin
Rebreath27-Feb-04 11:09
Rebreath27-Feb-04 11:09 

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.