Search found 17 matches

by Douha
Thu Nov 29, 2007 8:27 pm
Forum: General XML Questions
Topic: Using Find/Replace - Do I need to use Regular Expressions?
Replies: 1
Views: 4623

Using Find/Replace - Do I need to use Regular Expressions?

Hi All, I have a need to do a mass replace on a certain tag in an xml file. I need to replace the value in a tag from whatever it is to a null. For example, I have an element with the following tags. <tag1 Attribute="Y"><![CDATA[41]]></tag1>. The cdata section for this tag through out the ...
by Douha
Thu Aug 31, 2006 6:09 pm
Forum: Common Problems
Topic: Oxygen editor is changing xml code
Replies: 6
Views: 5885

Sorin, Thank you very much. I have never seen a vendor that is as responsive as you are. This makes two times that you have created a patch for a problem that I was having. I do appreciate your help. I also do tell everyone who I know who works with xml about oXygen. Thanks, Doug Harding State of Ut...
by Douha
Wed Aug 30, 2006 11:01 pm
Forum: Common Problems
Topic: Oxygen editor is changing xml code
Replies: 6
Views: 5885

Thanks for your response David. I did check and found out that when I first open the file, it is showing the empty brackets. It isn't until I do the Format and Indent, that the tags get changed. I had changed the preferences/Editor/Format/XML Preserve text as it is box to true a couple of days ago. ...
by Douha
Wed Aug 30, 2006 5:57 pm
Forum: Common Problems
Topic: Oxygen editor is changing xml code
Replies: 6
Views: 5885

I can't do that. The reason is that I am reviewing xml files that are created by other departments for input to our accounting system. Our system won't handle empty brackets in the cdata section. I need to be able to create screen prints of what is wrong with their files so that they can fix the pro...
by Douha
Wed Aug 30, 2006 1:19 am
Forum: Common Problems
Topic: Oxygen editor is changing xml code
Replies: 6
Views: 5885

Oxygen editor is changing xml code

Hi All, I would like to disable a feature of the editor and can't seem to figure out how to do it. When I edit a file that contains a CDATA section with empty brackets, like this <BANK_ACCT_CD Attribute="Y"><![CDATA[]]></BANK_ACCT_CD>, the editor will display this <BANK_ACCT_CD Attribute=&...
by Douha
Fri May 26, 2006 9:14 pm
Forum: General XML Questions
Topic: How can I do this in a Schema?
Replies: 3
Views: 9381

Thanks George, What I am trying to accomplish is this. For every element 1 there will be at least 1 element 2 that will immediatly follow element 1. For every element 2 there will be at least 1 element 3 that will immediately follow element 2. So the following would be what I am trying to model. E1 ...
by Douha
Fri May 26, 2006 6:50 pm
Forum: General XML Questions
Topic: How can I do this in a Schema?
Replies: 3
Views: 9381

How can I do this in a Schema?

Hi all, I have a question about how to create a schema that will validate this format. I have a file that used to have a format like this. element type 1 element type 2 element type 2 element type 2 element type 3 element type 3 element type 3 element type 3 It has been changed to this format. eleme...
by Douha
Tue May 16, 2006 10:33 pm
Forum: Common Problems
Topic: Indentations in Pretty Print
Replies: 2
Views: 3352

Thanks so much George. I had looked all over for that. I just didn't recognize it for what it was.

Doug
by Douha
Tue May 16, 2006 8:01 pm
Forum: Common Problems
Topic: Indentations in Pretty Print
Replies: 2
Views: 3352

Indentations in Pretty Print

Hi All, Is there a way in 7.1 to set the number of spaces that will be used to indent? I have several files that I look at. When I pretty print them, some will indent with what appears to be almost 10 spaces. Others will only indent with 2 spaces. I am getting others that fit in the middle of that r...
by Douha
Thu Jan 26, 2006 8:25 pm
Forum: Common Problems
Topic: Problem with Pretty Print in version 7
Replies: 1
Views: 2521

Problem with Pretty Print in version 7

Hi, I have just installed version 7 on my machine. I edited a large xml file and clicked the pretty print button. Oxygen just seems to go away after I do that. I can see that it is running (and using 98% of the cpu) but it never ends. Version 6.2 on this same file takes about 45 seconds to pretty pr...
by Douha
Thu Oct 06, 2005 6:44 pm
Forum: XML Schemas
Topic: Restricting length of CDATA section value.
Replies: 7
Views: 11286

Eureka!!!

:D

Hey George. You are the man. Whatever they are paying you, it is not enough.

Thank you, thank you, thank you.

Doug
by Douha
Wed Oct 05, 2005 11:46 pm
Forum: XML Schemas
Topic: Restricting length of CDATA section value.
Replies: 7
Views: 11286

A follow-on question

Hi Sir George, Woohoo, I finally got a regular licence to oXygen xml today. From my original question I have discovered a puzzle that I can't seem to figure out. Some of the fields that I am restricting the length of will either be 1 or two characters or the value null. Is there a way to restrict th...
by Douha
Thu Sep 29, 2005 4:24 pm
Forum: XML Schemas
Topic: Restricting length of CDATA section value.
Replies: 7
Views: 11286

I get it.

Thanks again for all your help.

Doug
by Douha
Thu Sep 29, 2005 12:08 am
Forum: XML Schemas
Topic: Restricting length of CDATA section value.
Replies: 7
Views: 11286

Thanks for your help George. That did the trick. I do have one question for you. I noticed that in the xs:complexType definition that follows the xs:element name line, you removed the mixed="true" attribute. Is the mixed attribute needed? What does it do? Thanks again for your reply. Doug
by Douha
Tue Sep 27, 2005 10:05 pm
Forum: XML Schemas
Topic: Restricting length of CDATA section value.
Replies: 7
Views: 11286

Restricting length of CDATA section value.

Hi all, I have an XML file where all to elements for the data are contained in CDATA sections. I have a schema created that is working right now although it is pretty dumbed down. I have a need now to insert into the schema a restriction on the length of the values in the different elements. The xml...
by Douha
Mon Aug 22, 2005 5:43 pm
Forum: XML Schemas
Topic: Error msg when validating with schema
Replies: 2
Views: 6622

Thank you Sorin, that works.
by Douha
Fri Aug 19, 2005 6:09 pm
Forum: XML Schemas
Topic: Error msg when validating with schema
Replies: 2
Views: 6622

Error msg when validating with schema

Hi all, I am trying to validate an xml file using a an w3 schema. Here is the namespace line for the schema. <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="unqualified" attributeFormDefault="unqualified"> The xml file that I am validating doe...