Click here to Skip to main content
15,911,896 members
Home / Discussions / XML / XSL
   

XML / XSL

 
GeneralRe: XML from file with special letters [modified] Pin
gruberdominik26-Jul-07 22:15
gruberdominik26-Jul-07 22:15 
GeneralRe: XML from file with special letters Pin
Michael Dunn27-Jul-07 9:55
sitebuilderMichael Dunn27-Jul-07 9:55 
QuestionXML Pin
Gyan Prakash25-Jul-07 21:44
Gyan Prakash25-Jul-07 21:44 
AnswerRe: XML Pin
George L. Jackson25-Jul-07 23:54
George L. Jackson25-Jul-07 23:54 
QuestionHow to update a parameter value which has same parameter name in the same section. Pin
zxc8925-Jul-07 20:33
zxc8925-Jul-07 20:33 
AnswerRe: How to update a parameter value which has same parameter name in the same section. [modified] Pin
George L. Jackson25-Jul-07 23:48
George L. Jackson25-Jul-07 23:48 
QuestionSelecting the unique names of the elements in XML Pin
Rocky#25-Jul-07 19:18
Rocky#25-Jul-07 19:18 
QuestionHow to Handle Inline Markup Elements in XSLT Pin
Nick Rioux25-Jul-07 8:45
Nick Rioux25-Jul-07 8:45 
Say I have this XML Document:
<?xml version="1.0" encoding="UTF-16"?>
<?xml-stylesheet type="text/xsl" href="MyXsl.xsl"?>
<page>
	<para>
		Test paragraph.
	</para>

	<para>
		Test <link href="codeproject.com">link</link>.
	</para>
</page>


In XSLT, how would you change <link href into <a href?

I have this so far...
<xsl:template match="/">
...
  <xsl:for-each select="//para">
	<xsl:call-template name="paragraph"/>
  </xsl:for-each>
...
</xsl:template>

<xsl:template match="//para" name="paragraph">
	<p>
	<xsl:value-of select="."/>
     	</p>
</xsl:template>


Thanks! I've tried Google, but couldn't find anything useful.


Fluent in VB, Attempts to speak C#, Python, English Wink | ;)

---
File Association in VB.Net

Creating Custom Controls: Casino Royale

AnswerRe: How to Handle Inline Markup Elements in XSLT Pin
George L. Jackson25-Jul-07 17:11
George L. Jackson25-Jul-07 17:11 
GeneralRe: How to Handle Inline Markup Elements in XSLT Pin
Nick Rioux26-Jul-07 1:29
Nick Rioux26-Jul-07 1:29 
Questionreading xml schema file and generate xml Pin
D.Sridhar25-Jul-07 8:45
D.Sridhar25-Jul-07 8:45 
QuestionAccess table to XML [modified] Pin
kallileo23-Jul-07 21:19
kallileo23-Jul-07 21:19 
QuestionCreating an XmlNode / XPathNavigator object From Schema. Pin
Tristan Rhodes22-Jul-07 23:25
Tristan Rhodes22-Jul-07 23:25 
QuestionCreate xml file Pin
Maynka19-Jul-07 20:57
Maynka19-Jul-07 20:57 
AnswerRe: Create xml file Pin
sathesh pandian19-Jul-07 21:00
sathesh pandian19-Jul-07 21:00 
AnswerRe: Create xml file Pin
Naji El Kotob20-Jul-07 10:46
Naji El Kotob20-Jul-07 10:46 
QuestionRemove elements from XML. using XSLT and JAXP [modified] Pin
Manish Paul18-Jul-07 0:02
Manish Paul18-Jul-07 0:02 
AnswerRe: Remove elements from XML. using XSLT and JAXP Pin
Manish Paul18-Jul-07 3:32
Manish Paul18-Jul-07 3:32 
QuestionHTML to XML Pin
turoi14-Jul-07 18:18
turoi14-Jul-07 18:18 
AnswerRe: HTML to XML Pin
George L. Jackson16-Jul-07 16:17
George L. Jackson16-Jul-07 16:17 
QuestionXpath expression Pin
Ibana14-Jul-07 7:04
Ibana14-Jul-07 7:04 
AnswerRe: Xpath expression Pin
George L. Jackson14-Jul-07 9:29
George L. Jackson14-Jul-07 9:29 
GeneralRe: Xpath expression Pin
Ibana2-Aug-07 4:28
Ibana2-Aug-07 4:28 
GeneralRe: Xpath expression Pin
Ibana2-Aug-07 4:51
Ibana2-Aug-07 4:51 
QuestionRe: Xpath expression Pin
George L. Jackson2-Aug-07 12:03
George L. Jackson2-Aug-07 12:03 

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.