This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: another ultimately stupid question
- To: <xsl-list at mulberrytech dot com>
- Subject: RE: another ultimately stupid question
- From: "Rainer Kerl" <rainer_kerl at hplb dot hpl dot hp dot com>
- Date: Thu, 6 Apr 2000 22:21:40 +0100
- Reply-To: xsl-list at mulberrytech dot com
hi.
you have to create a TextNode and add it to the XMLElement
with addChild(Node).
hope that helps.
Rainer Kerl mailto: rainer_kerl@hpl.hp.com
####### ####### www: http://www-uk.hpl.hp.com
#### /_ _ #### Hewlett Packard Labs
### / / /_/ ### Filton Road phone: +44 117 312 8711
#### / #### Stoke Gifford fax: +44 117 312 9250
####### ####### Bristol BS34 8QZ, U.K. mobile: +44 7790 516 595 <--
new!!!
:-----Original Message-----
:From: owner-xsl-list@mulberrytech.com
:[mailto:owner-xsl-list@mulberrytech.com]On Behalf Of Neelam Checknita
:Sent: 06 April 2000 21:30
:To: Xsl Forums (E-mail)
:Subject: another ultimately stupid question
:
:
:Hi again,
:
:I know this question is probably even dumber than the last one which I
:asked, but I must ask because I have to get this
:project working:
:
:I want to generate an element something like this:
: <contact_name>neelam</contact_name>
:
:i'm using oracle's xml parser version 2.0, but i'm not sure how i can do
:this.
:
:If i create an XMLElement with tag name contact_name, that part works. But
:when I try to do something like:
: XMLElement.setNodeValue("neelam"), i get an exception that says the
:node cannot be modified (read-only).
:i'm not sure why this would be happening. I also don't know if i'm doing
:the right thing to set the "value" in the node...
:could it be that the string "neelam" is an attribute?
:
:any help would be appreciated! thanks in advance!
:
:neelam
:
:
:
: XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
:
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list