This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Manipulating XSL element
- To: "XML" <XML-INTEREST at www dot javasoft dot com>, "XSL-List" <xsl-list at mulberrytech dot com>
- Subject: Manipulating XSL element
- From: "ciaran byrne" <ciaran dot byrne at 3tl dot com>
- Date: Mon, 14 Aug 2000 09:56:44 +0100
- Reply-To: xsl-list at mulberrytech dot com
Hi all,
Is there any way to create an XML element
without it being created by my XSL as an empty tag i.e.
<element/>
The reason being is that the content that is manipulated
by my XSL into an element already has a '/' to indicate
whether it will be a start/end or empty tag, such as:
empty: <tag/>
start: <tag>
end: </tag>
So, when my content, complete with '/' gets passed
through the XSL and I create an element I get
empty: <tag//>
start: <tag/>
end: </tag/>
Is there any way I can get my XSL to look at the tag and say
"hey let's treat this tag as a start tag as such so that I don't
put in the '/' ? "
which would give me...
empty: <tag/>
start: <tag>
end: </tag>
Any ideas on a wet Monday morning ??
Ciaran.
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list