This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: questions.
- To: <xsl-list at lists dot mulberrytech dot com>
- Subject: RE: [xsl] questions.
- From: "Mihir D. Gore" <mihirg at geometricsoftware dot com>
- Date: Thu, 4 Oct 2001 14:32:16 +0530
- Reply-To: xsl-list at lists dot mulberrytech dot com
but if want to replace node b with node z ie
<a>
<b>
<c></c>
</b>
</a>
is changed to
<a>
<x>
<c></c>
<m></m>
<n></n>
<x>
</a>
I can achive this by simply deleting node b and its chilren and adding node
x.
Is there any other way around this?
mihir
-----Original Message-----
From: owner-xsl-list@lists.mulberrytech.com
[mailto:owner-xsl-list@lists.mulberrytech.com]On Behalf Of Manu KY
Sent: Thursday, October 04, 2001 2:09 PM
To: xsl-list@lists.mulberrytech.com
Subject: Re: [xsl] questions.
Hi,
write xsl:template match = "b"
Manu
>hi,
>I have a xml file in the form
>
><a>
> <b>
> <c></c>
> </b>
></a>
>
>I want to add two more children to node b say m and n so that the
resultant
>xml looks like this.....
>
><a>
> <b>
> <c></c>
> <m></m>
> <n></n>
> </b>
></a>
>
>BUT in the xsl file in want to specify the path with respect to node b.
>How do i do it?
>mihir
>
>
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list