Help with DOMString

2002-02-18 Thread Aniruddha Shevade
Hello I have some problms in determining how the DOMString represents its values internally The problem I have is the following For the XML request (Some Name In Russian Laung which is a Mix of Ascci and Non ascii characters ) 1) When The client sends a XML request , using the Visual Stu

building Xerces-c under cygwin

2002-02-18 Thread Corinne Elizabeth McNeely
I am trying to build the Xerces C++ XML parser on cygwin. I notice that the runConfigure script for unix-variant distributions does not support the cygwin environment. Is there a preferred way of compiling Xerces under cygwin? Is it necessary to include the ICU libraries? Thanks. Corinne McNe

RE: Can't access content model in SEnumVal when complex type = All

2002-02-18 Thread Williamson, Siehnai
Title: RE: Can't access content model in SEnumVal when complex type = All Thanks for your response to 1.) 2.) was already answered by Tinny Ng. Thanks, Siehnai -Original Message- From:   PeiYong PY Zhang [SMTP:[EMAIL PROTECTED]] Sent:   Monday, February 18, 2002 2:32 PM To: [E

Re: Can't access content model in SEnumVal when complex type = All

2002-02-18 Thread PeiYong PY Zhang
Williamson, "Williamson, Siehnai" wrote: 1.)  While running the SEnumVal example using the personal-schema.xml file, I realized that getFormattedContentModel() returns nothing when the complex type for the element equals "All" (see element "name" in personal-schemal.xml).  After further research,

Re: IDOM memory model

2002-02-18 Thread Jason E. Stewart
"Cornelius, Martin" <[EMAIL PROTECTED]> writes: > > Is there some fundamental reason that the memory needs to be managed > > by the parser? Why can't it be managed by the document? > > I think this is merely a design issue: As the parser creates documents, it > should also be responsible of dele

RE: IDOM memory model

2002-02-18 Thread Cornelius, Martin
Hello Jason, you wrote > Is there some fundamental reason that the memory needs to be managed > by the parser? Why can't it be managed by the document? I think this is merely a design issue: As the parser creates documents, it should also be responsible of deleting them. Solely for this reason t

Re: parsing an xml document

2002-02-18 Thread Jason Jesso
Thanks. I missed that. Jason Lenny Hoffman wrote: > Hi Jason, > > > DOM_Node sendXml = actionNode.getNextSibling(); to give me the SENDXML > > node ( instead I get a ACTION node ) > > The sibling of an ACTION node is an ACTION node, SENDXML is a sibling of > OBJECT node. You probably want to

RE: parsing an xml document

2002-02-18 Thread Lenny Hoffman
Hi Jason, > DOM_Node sendXml = actionNode.getNextSibling(); to give me the SENDXML > node ( instead I get a ACTION node ) The sibling of an ACTION node is an ACTION node, SENDXML is a sibling of OBJECT node. You probably want to do this: DOM_Node sendXml = objectNode.getNextSibling(); Regards

Re: parsing an xml document

2002-02-18 Thread Jason Jesso
Ok. That helps. I still don't understand why a call to getNextSibling gives me an ACTION element. I still would expect DOM_Node objectNode = actionNode.getFirstChild(); to give me the OBJECT node ( and it does ) DOM_Node sendXml = actionNode.getNextSibling(); to give me the SENDXML node ( in

Re: parsing an xml document

2002-02-18 Thread Juergen Hermann
On Mon, 18 Feb 2002 09:58:20 -0500, Jason Jesso wrote: > > Between action and object, there is _whitespace_, which results in a text node if you do not parse with a DTD that enables the parser to recognize this as _ignorable_ whitespace. Ciao, Jürgen -- Jürgen Hermann, Develop

parsing an xml document

2002-02-18 Thread Jason Jesso
I think I am confused in the way parsing an xml file works. Let me give my example and the output, then I will tell you what I would expect as output. My function: void build( DOM_Document doc ) { // get the list of actions DOM_NodeList nl = doc.getElementsByTagName("ACTION"); c

Xerces-C & excape sequences

2002-02-18 Thread Dave Hoffer
I am quite new to the Xerces parser. We use the SAX parser to process all of our string resources using in our application (we store all strings in XML file(s)). Sometimes we want to include carriage return (CR) and line feed (LF) characters in our strings so they can be properly displayed. Sin

Re: DOM_Node problem...HELP REQUIRED URGENTLY

2002-02-18 Thread daniel.mclean
had the same problem this morning. Node aNode = document_from.getDocumentElement(); Node newNode = document_to.importNode(aNode, true); thisElement.appendChild(newNode); >Hi All >I am creating/updating a DOM_Document wherein I want to copy a DOM_Node from >one DOM_Document to another. >I am a

DOM_Node problem...HELP REQUIRED URGENTLY

2002-02-18 Thread Ravi_Jain
Hi All I am creating/updating a DOM_Document wherein I want to copy a DOM_Node from one DOM_Document to another. I am able to do same within the same DOM_Document .using (appendChild()) Can anyone help so as to how to do same accross two DOM_Document(s). ? Thanks in Advance With Warm Regards Ra

Re: Proposal: C++ Language Binding for DOM Level 2 - in term of IDOM

2002-02-18 Thread Andrew Snare
At 08:31 AM 15/02/2002 -0800, you wrote: >Hi, > >W3C DOM Recommendation has only defined JAVA and ECMAScript language >bindings. For all other languages, W3C has links to binding owners' web >sites in http://www.w3.org/DOM/Bindings. > >In order to populate Xerce