Connecting Tech Pros Worldwide Help | Site Map

XML to XML transformations

Newbie
 
Join Date: Aug 2008
Posts: 1
#1: Aug 7 '08
Hi,
I'm trying to use XSLT to transform the XML source code output from C# to DocBook XML. My specific question (besides the million others I have) is how to you change a <see cref=' ' > to <link linkend=' '></link>. Any help you be greatly greatly appreciated!

Lillian
Moderator
 
Join Date: Mar 2006
Posts: 1,103
#2: Aug 8 '08

re: XML to XML transformations


Assuming you're using templates:
Expand|Select|Wrap|Line Numbers
  1. <xsl:template match="see">
  2. <link linkend="{@cref}">
  3. </link>
  4. </xsl:template>
  5.  
Reply