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

Hiding an xml node

Hi,

I know that anyone could view the contents of an xml file via Internet
Explorer or any other program that uses an xml parser. I was wondering,
however, if it were possible to hide a node (root and/or child) in the xml
file. It it is possible, how do I go about doing this?

Thanks,
Roshawn
Nov 12 '05 #1
2 1090


Roshawn wrote:
I know that anyone could view the contents of an xml file via Internet
Explorer or any other program that uses an xml parser. I was wondering,
however, if it were possible to hide a node (root and/or child) in the xml
file. It it is possible, how do I go about doing this?


XML is text, you can view it in any Unicode capable text editor. I am
not sure in which context you want to hide a node, of course you can use
the DOM for instance to remove a node from a document.

--

Martin Honnen
http://JavaScript.FAQTs.com/

Nov 12 '05 #2
Roshawn wrote:
I know that anyone could view the contents of an xml file via Internet
Explorer or any other program that uses an xml parser. I was wondering,
however, if it were possible to hide a node (root and/or child) in the xml
file. It it is possible, how do I go about doing this?


That depends on 1) how do you expose XML 2) how do you show XML.
The best way is to process XML server side and send to client only a
portion it allowed to view.
--
Oleg Tkachenko [XML MVP, XmlInsider]
http://blog.tkachenko.com
Nov 12 '05 #3

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

Similar topics

8
by: F. Da Costa | last post by:
Following is a snippet of html in which I hide a whole table and try to hide a single row. Here is my question (plz don't chew my head off if its css related instead): Why does the divTable...
12
by: abs | last post by:
Hi all. The example code is here http://instaltech.com.pl/_drzewo/test.html. I'd like to create a function which will have <li> object (id="myLI" in example code) passed as a parameter and will...
0
by: usamaalam | last post by:
Hello everybody, I have a treeview control in my application and a hierarchy of sub-nodes. Application works on rights. If user doesnt have rights to see a particular screen, the treeview node...
17
by: Bob Weiner | last post by:
What is the purpose of hiding intead of overriding a method? I have googled the question but haven't found anything that makes any sense of it. In the code below, the only difference is that...
3
by: Shafia | last post by:
Hi, How do I hide a TreeNode programmatically? the IsVisible property of a node is readonly. Any suggestions? Thanks in Advance, Shafia
9
by: bob | last post by:
Hi, I know there exists a good reason why the designers of c++ decided that function hiding should exist. But I don't know why. Can anybody provide a good reason/example of a case where function...
1
by: Ross | last post by:
On this page you will see the dropdown hides under the box. http://nationalservicesscotland.com/news/nss_news.php I use this javascript to fix the dropdown in ie // JavaScript Document
162
by: Sh4wn | last post by:
Hi, first, python is one of my fav languages, and i'll definitely keep developing with it. But, there's 1 one thing what I -really- miss: data hiding. I know member vars are private when you...
27
by: matt | last post by:
Hello group, I'm trying to become familiar with the information hiding design rules, and I have a lot (3) of questions for all you experts. AFAIK, a generic module has 2 files: ...
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: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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: 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.