|
Subject: [xsl] Using copy to change a node, whilst retaining the attributes From: "John Reid" <John.Reid@xxxxxxxxxxxxxxx> Date: Mon, 4 Aug 2003 20:48:17 +1000 |
I know, I put a similar q a few days ago, but I am trying to achieve a
variation without success. I would like to go from A to B, preferably
with code that copys across all attributes and does not copy across the
text node for <yes> but creates a new text node for <yes>
<player pword="843208">
<dates>
<yes ID="20030722" WE="Tu">A</yes>
<yes ID="20030729" WE="Tu">A</yes>
<yes ID="20030805" WE="Tu">A</yes>
<yes ID="20030809" WE="Sa">D</yes>
<yes ID="20030810" WE="Su">D</yes>
<yes ID="20030812" WE="Tu">D</yes>
<yes ID="20030819" WE="Tu">A</yes>
<yes ID="20030826" WE="Tu">A</yes>
</dates>
</player>
<player pword="843208">
<dates>
<yes ID="20030722" WE="Tu">A</yes>
<yes ID="20030729" WE="Tu">A</yes>
<yes ID="20030805" WE="Tu">A</yes>
<yes ID="20030809" WE="Sa">C</yes>
<yes ID="20030810" WE="Su">C</yes>
<yes ID="20030812" WE="Tu">C</yes>
<yes ID="20030819" WE="Tu">A</yes>
<yes ID="20030826" WE="Tu">A</yes>
</dates>
</player>
Salud
John Reid
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: [xsl] Re: [meta] why post? [was, David Carlisle | Thread | Re: [xsl] Using copy to change a no, J.Pietschmann |
| Re: [xsl] PCDATA and Attributes, David Carlisle | Date | [xsl] Header/Footer asking., Mihail Mutu |
| Month |