[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: another ultimately stupid question

Subject: RE: another ultimately stupid question
From: "Rainer Kerl" <rainer_kerl@xxxxxxxxxxxxxxx>
Date: Thu, 6 Apr 2000 22:21:40 +0100
david rigby hp
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.