473,385 Members | 1,347 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Reading a part of xml node and converting it to other schema .

hi ,

please suggest me how can i convert the followinf xml schema to the schema given later

<parentNode>
some text
<childNode>
i want to read the text at this leve
<Image>
</Image>
along with the test present here some text at this level
</childNode>
</parentNode>

to this schema

<parentNode>
<childNode>
<text>i want to read the text at this leve</text>
<Image>
</Image>
<text>along with the test present here some text at this level</text>
</childNode>
</parentNode>

actuall i need to addd the text node for the test present in the childNode keeping the image node as it is.

Thanks alot in advance.
May 10 '07 #1
1 1223
Dököll
2,364 Expert 2GB
hi ,

please suggest me how can i convert the followinf xml schema to the schema given later
Expand|Select|Wrap|Line Numbers
  1.  <parentNode>
  2.     some text 
  3.     <childNode>
  4.       i want to read  the text at this leve
  5.       <Image>
  6.     </Image>
  7.     along with the test present here some text at this level
  8.   </childNode>
  9.  </parentNode>
  10.  
  11. to this schema 
  12.  
  13.  <parentNode>
  14.       <childNode>
  15.         <text>i want to read  the text at this leve</text>
  16.         <Image>
  17.         </Image>
  18.         <text>along with the test present here some text at this level</text>
  19.       </childNode>      
  20.  </parentNode>
  21.  
actuall i need to addd the text node for the test present in the childNode keeping the image node as it is.

Thanks alot in advance.
I would start here:

http://www.w3schools.com/schema/schema_howto.asp


If you need more info, take a step back through the tutorial.

Good luck!
Jul 4 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

10
by: Michael Wein | last post by:
Hello, does anyone know of a way/solution how to convert XML Schema documents into DTD? I am aware of the fact that such a conversion won't be possible under certain circumstances and that...
3
by: ceplma | last post by:
Hi, I love Kate XML plugin <http://kate.kde.org/> which understands XML document structure by reading output of dtdparse. However, DTDs seem to be kind of dying out (slowly, but sure) and...
3
by: Bill C. | last post by:
Hi, I've got a simple console app that just reads an XML file into a DataSet then prints out a description of each table in the DataSet, including column names and row values for each column. ...
3
by: keldan | last post by:
I am hoping someone on this list can shed some light on the below issue for me. I am using XmlTextReader to read from an XML file. Unfortunately, an exception is thrown ("Index was outside the...
1
by: hzgt9b | last post by:
(FYI, using VB .NET 2003) Can someone help me with this... I'm trying to read in an XML file... it appears to work in that the DataSet ReadXML method dose not fail and then I am able to access the...
1
by: SteveB | last post by:
I'm porting an application from Apache Xerces to .Net and am having a couple of small problems with deserialization. The XML that I'm reading comes from a variety of sources, and there are two...
3
by: Eroc | last post by:
I'm new to XML files so I'm kinda lost here. I found some example code on reading an XML file. My objective is simple. Read the whole XML file into memory. Here is part of my code: Private...
1
by: tdpriya1984 | last post by:
Hi, Is it possible to fetch the Elements and Attributes in XML by reading the XSD?? I want to develop a application whose Elements and Attributes changes when i change my Schema. The Elements and...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.