Subject: RE: another ultimately stupid question From: "Rainer Kerl" <rainer_kerl@xxxxxxxxxxxxxxx> Date: Thu, 6 Apr 2000 22:21:40 +0100 |
hi. you have to create a TextNode and add it to the XMLElement with addChild(Node). hope that helps. Rainer Kerl mailto: rainer_kerl@xxxxxxxxxx ####### ####### 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@xxxxxxxxxxxxxxxx :[mailto:owner-xsl-list@xxxxxxxxxxxxxxxx]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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
another ultimately stupid question, Neelam Checknita | Thread | xsl:when question - am I doing some, David Rigby |
Re: XHTML to HTML 4, Paul Grosso | Date | xsl:when question - am I doing some, David Rigby |
Month |