473,386 Members | 1,705 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,386 software developers and data experts.

difficult question?:)

I have such problem:)

i have xml file:
<?xml version="1.0" encoding="UTF-8"?>
<doc>
<page name="title1"/>
<page name="title2" inherit="title1"/>
<page name="title3"/>
<page name="title4" inherit="title2"/>
</doc>

value of atttribute name are uniqe in hole document

i have no idea how to make that the value of attribut inherit can't be
the same like value of attribute name in the same element, i.e. it
can't occor such situation:
<page name="title4" inherit="title4"/>

thanks for help

Sep 13 '05 #1
3 1325
Hi,

Tempore 10:50:14, die Tuesday 13 September 2005 AD, hinc in foro {comp.text.xml} scripsit zbiszko <zb******@wp.pl>:
I have such problem:)

i have xml file:
<?xml version="1.0" encoding="UTF-8"?>
<doc>
<page name="title1"/>
<page name="title2" inherit="title1"/>
<page name="title3"/>
<page name="title4" inherit="title2"/>
</doc>

value of atttribute name are uniqe in hole document

i have no idea how to make that the value of attribut inherit can't be
the same like value of attribute name in the same element, i.e. it
can't occor such situation:
<page name="title4" inherit="title4"/>

The question seems to be quite difficult indeed: I can't find it. What exactly is the question/what output do you want?

--
Joris Gillis (http://users.telenet.be/root-jg/me.html)
«Et ipsa scientia potestas est» - Francis Bacon , Meditationes sacrae
Sep 13 '05 #2
:) sorry :)
i have to do a xml schema to the xml file

Sep 13 '05 #3
Tempore 11:00:42, die Tuesday 13 September 2005 AD, hinc in foro {comp.text.xml} scripsit zbiszko <zb******@wp.pl>:
:) sorry :)
i have to do a xml schema to the xml file

OK, now the question is understandable.
I can't hellp you personally, though; I don't know a bit about xml schema...

regards,
--
Joris Gillis (http://users.telenet.be/root-jg/me.html)
«Et ipsa scientia potestas est» - Francis Bacon , Meditationes sacrae
Sep 13 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

54
by: Spammay Blockay | last post by:
I've been tasked with doing technical interviews at my company, and I have generally ask a range of OO, Java, and "good programming technique" concepts. However, one of my favorite exercises I...
12
by: Mike Dee | last post by:
A very very basic UTF-8 question that's driving me nuts: If I have this in the beginning of my Python script in Linux: #!/usr/bin/env python # -*- coding: UTF-8 -*- should I - or should I...
0
by: manunam | last post by:
hi all, I am creating an ISAPI filter in VC++. this filter has to check the http client requests, and do some checks. First of all, when a client requests a file, the filter checks if the...
0
by: ALI | last post by:
hi i need some best answer's for this question for interview as an oracle (DBA). Q : what is the most difficult situation u faced and how did u solved it ???? i really appriciate if some...
9
by: Robert Brown | last post by:
Our customer (of our ecommerce system) wants to be able to preserve deleted entities in the database so that they can do reporting, auditing etc. The system is quite complex where each end user...
5
by: Nick Keighley | last post by:
Hi, In the beginning the code was:- BRUSHH new_brush = create_brush() BRUSHH old_brush = select_brush (new_brush) draw(...) select_brush (old_brush) destroy_brush (new_brush)
5
by: Bob | last post by:
Hi Everybody Difficult question Has anyone else used the "Using the Tab control as a container" database example that comes with the above book chapter 7 on the accompanying disc. It is a...
2
by: Eniac | last post by:
*argh* ... *pull hairs* I've recently started developing from ASP to ASP.NET The switch was fairly smooth since i had done some VB.net before ... then came...FORMS! :) I find it astounding...
14
AccessIdiot
by: AccessIdiot | last post by:
Hello all, A while ago I got a lot of help on building a bunch of forms tied to a somewhat complicated db. Now I'm back with a search form question. The guys that I built the db for - they...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.