xsl-list
[Top] [All Lists]

Insert a tag inside a text

2005-09-12 06:10:46
Hello.

I am trying to figure out if it is possible to make a XSLT
transformation which could receive this XML file:

<page>
<p>
  <label for="txtElement" accesskey="a">
    Name:
  </label>
  <input type="text" id="txtElement" />
</p>
</page>


And transform it to the following, inserting a <span> tag inside a
specific position of a string:

<html>
<head><title></title></head>
<body>
<p>
  <label for="txtElement" accesskey="a">
    N<span class="accesskey">a</span>me:
  </label>
  <input type="text" id="txtElement" />
</p>
</body>
</html>

Is this possible? Thanks in advance.

  Andrew        [  knocte  ]

--

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>