Re: Question about XML

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
There are libraries in your language who might do this,
1. the easiest but not recommended approach will be to do a regular expression match and replace 
2. the recommended method will be to traverse to the node, change it create a new file and delete the previous file.
If anyone have a seperate method pl. discuss
Also one great downside of XML is that it does not support binary content, at least to the far i know of xml, but there are turnarounds for doing so. 
--
Regards,
Abhishek jain


----- Original Message ----
From: Emrah Özcan <codeoman@xxxxxxxxx>
To: php-objects@xxxxxxxxxxxxxxx
Sent: Monday, November 5, 2007 8:14:29 PM
Subject: RE:  Question about XML

What if I try to change the content of the XML file, say english Marks?



Emrah



From: php-objects@xxxxxxxxxxxxxxx [mailto:php-objects@xxxxxxxxxxxxxxx] On
Behalf Of abhishek jain
Sent: Monday, November 05, 2007 9:31 PM
To: php-objects@xxxxxxxxxxxxxxx
Subject: Re:  Question about XML



Hi,
Further to the discussion , the XML is like data preserver , imagine if you
need to give the details of the students of a class to a diff. person and if
you have more than one parameter like ,
name
age
class
section
marks-english
marks-maths
marks-science
and so on.
You can not do via a simple method you need XML file, 
what i do is create an XML on a predefined schema format and take this file
onto a diff place/computer and i than took info out of this XML file.
This is the prime work of XML file,

Pl. ask questions for more explanation.
thanks 
--
Regards,
Abhishek jain

----- Original Message ----
From: sudhakar <finals27@xxxxxxxxx <mailto:finals27%40yahoo.com> >
To: php-objects@xxxxxxxxxxxxxxx <mailto:php-objects%40yahoogroups.com> 
Sent: Saturday, November 3, 2007 10:37:17 PM
Subject: RE:  Question about XML

Thanks.
--- "Rodrigo B. Schaan" <rodrigobrandelli@ hotmail.com>
wrote:

> XML is just a way to trasport data. 
> It can be used with XSL (a css for xml) to format
> this data in a organized, colored, (etc) look way.
> 
> Try the XML introdution in the W3C website.
> You'll se that data into a xml file is simple to
> navigate besides others basic browsers interpretions
> funcionalities on xml.
> 
> (sorry about my English)
> GREEN
> 
> 
> To: php-objects@ yahoogroups. comFrom:
> mail@phpcoded. orgDate: Sat, 3 Nov 2007 11:14:36
> +0100Subject: Re:  Question about XML
> 
> 
> 
> 
> An XML document is indeed just a simple textfile,
> which can off course be read by any textreader,
> including a browser. In order to make a website out
> of a XML file you'll need to do XML transformations,
> using XSLT. With a XSLT document you can transform
> your XML document to a XHTML page, which can be
> processed by your browser for display.So to answer
> the three questions:1. XML is a markup language.
> Meaning you can give a structural meaning to the
> contents.2. As said XML documents cannot be
> executed, you will have to use XML transformations
> (using another transformations document) to
> transform your page to XHTML in order for your
> browser to understand it (but off course you could
> transform it to any sort of document).3. XSLT
> transformations in Windows can be done by MSXML,
> that is already installed when you install Windows.
> Firefox uses its own, Transformiix. For Linux and OS
> X there are probably multiple libraries available.
> So basicly you probably already have what you need. 
> 
> 
> 
> 
> 
> 
>
____________ _________ _________ _________ _________ _________ _
> Veja mapas e encontre as melhores rotas para fugir
> do trânsito com o Live Search Maps!
> http://www.livemaps .com.br/index. aspx?tr=true
> 
> [Non-text portions of this message have been
> removed]
> 
> 

____________ _________ _________ _________ _________ __
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around 
http://mail. yahoo.com 

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

[Non-text portions of this message have been removed]





[Non-text portions of this message have been removed]



PHP Data object relational mapping generator
http://www.metastorage.net/ 
Yahoo! Groups Links



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux