BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Re: What is xdr?

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi XML
View previous topic :: View next topic  
Author Message
Dave Brown
Guest





PostPosted: Fri Feb 18, 2005 7:45 pm    Post subject: Re: What is xdr? Reply with quote



XDR is Microsofts "gap-filler" between DTD's and full XMLSchema.

They released while XMLSchema was still being ratified.

Stands for something like Xml Data Reduced.

Dave.

"Gabriela Covarrubias" <anagabriela (AT) smartware (DOT) com.mx> wrote

Quote:
What is xdr? The xml document could be validated with xdr?
Thanks in advance.





Back to top
David Zimmerman
Guest





PostPosted: Wed Feb 23, 2005 2:18 pm    Post subject: Re: What is xdr? Reply with quote





Dave Brown wrote:
Quote:
XDR is Microsofts "gap-filler" between DTD's and full XMLSchema.

They released while XMLSchema was still being ratified.

Stands for something like Xml Data Reduced.

Dave.

"Gabriela Covarrubias" <anagabriela (AT) smartware (DOT) com.mx> wrote in message
news:420a6e7b (AT) newsgroups (DOT) borland.com...

What is xdr? The xml document could be validated with xdr?
Thanks in advance.




It also stands for eXternal Data Representation and is used in such
things as RPC

Back to top
David Marinkovic
Guest





PostPosted: Mon Feb 28, 2005 10:27 am    Post subject: Re: What is xdr? Reply with quote



Hi,

For the xsd file :
I need to indicate that a value (string value)
must take several specific value (I specify this
value, let say the value must be one of this : AB,
AC, AD, AE).

I made the xsd file this the help of POWER ASM
(from sysbase).
The file is fully recognized by the XML Mapper of
Delphi 7.
But apparently the Data Packet generate buy the
XML Mapper didn't make use of this constraint. In
other words, It check if the value is 2 characters
long, but It didn't check if the value is one of
allowed...

If anyone have some information about this.

Thanks to all

David M.


"Dave Brown" <dave.brown (AT) blueflag (DOT) co.uk> a écrit
dans le message de news:
4216460d$1 (AT) newsgroups (DOT) borland.com...
Quote:
XDR is Microsofts "gap-filler" between DTD's and
full XMLSchema.

They released while XMLSchema was still being
ratified.

Stands for something like Xml Data Reduced.

Dave.

"Gabriela Covarrubias"
[email]anagabriela (AT) smartware (DOT) com.mx[/email]> wrote in message
news:420a6e7b (AT) newsgroups (DOT) borland.com...
What is xdr? The xml document could be
validated with xdr?
Thanks in advance.







Back to top
Billy
Guest





PostPosted: Sun Feb 12, 2006 5:03 pm    Post subject: Re: sending xml request with delphi Reply with quote

Don,

Thanks for your help. I could not make indy to work I ended up using the
Twebbrowser component and parsing the innerhtml for fields.

Abdul
--
A.Basit
i-ssis inc
AccuPlan affordable Project Planning Software
http://www.accu-plan.com
Back to top
Rune Moberg
Guest





PostPosted: Mon Feb 20, 2006 10:03 am    Post subject: Re: XSLT with Delphi 2005 Reply with quote

"Bob Swart" <b.swart (AT) chello (DOT) nl> wrote in message
news:43D08CE4.4B2328EA (AT) chello (DOT) nl...
Quote:
See http://www.drbob42.com/examines/examin50.htm (the last section
covers XSLT on .NET, in case you need that).

That XML and XSL code strikes me as major overkill; It looks very obtuse
compared to http://xmlfiles.com/xsl/xsl_transformation.asp !

The XML example used there:
<CD>
<TITLE>Empire Burlesque</TITLE>
<ARTIST>Bob Dylan</ARTIST>
<COUNTRY>USA</COUNTRY>
<COMPANY>Columbia</COMPANY>
<PRICE>10.90</PRICE>
<YEAR>1985</YEAR>
</CD>
Is humanly readable IMO. It is extremely easy to write XSL code for it as
well.

I tried to follow your example, but couldn't find out how your XSL is able
to extract e.g. only the name field from:
<clinic name="Delphi 8 for .NET" date="27 May 2004"/>

You have some neat tricks on that page, that's for sure, but I can't shake
the feeling that it is unnecessary complex.

BTW: That doesn't look like the proper way of encoding a date... <cough>

--
Rune, http://runesbike.com/
Back to top
Bryce K. Nielsen
Guest





PostPosted: Wed Mar 01, 2006 8:03 am    Post subject: Re: XML vs. INI file Reply with quote

As noted, on the surface it's about the same. There are good libraries for
reading/writing XML and INI files. If you're using DotNet, then the
XMLReader is probably faster than the INI for retrieving raw data. SAX would
be the same.

Personally, I prefer XML files, since they are the most extensible. If for
some reason, you want your "ini" file used in other applications, like say
in a website, or cross-platform (i.e. Kylix) then XML is a much better means
of storing the data. So, forward thinking, XML would be the way to go.

Bryce K. Nielsen
SysOnyx, Inc. (www.sysonyx.com)
Makers of xmlDig, the XML-SQL Extractor
http://www.sysonyx.com/products/xmldig
Back to top
marek jedlinski
Guest





PostPosted: Fri Mar 10, 2006 4:03 am    Post subject: Re: XML vs. INI file Reply with quote

On Wed, 1 Mar 2006 00:16:16 -0700, "Bryce K. Nielsen" <bryce (AT) sysonyx (DOT) com>
wrote:


Quote:
Personally, I prefer XML files, since they are the most extensible. If for
some reason, you want your "ini" file used in other applications, like say
in a website, or cross-platform (i.e. Kylix) then XML is a much better means
of storing the data. So, forward thinking, XML would be the way to go.

On the other hand, if you expect users will ever want to muck around with
your config files, stick with INI, because they're more resilient. A single
misplaced character in an XML file may make the whole thing unusable.

This depends on the parser, but most barf on a slightest syntax error. It's
the correct behavior vis-a-vis XML specification, but I have no idea how it
squares with the supposed "human-friendliness" of the format. If you're
going to throw the whole thing away on a single unexpected byte, you might
as well use a binary format which will be faster to load and no-one will
touch it with Notepad Wink I'm only saying this because I do have
"undocumented" configuration options in my applications, and users like to
tweak them. They're unlikely to break an INI file, but XML is really,
really fragile in such a context.

..marek

--
No ads, no nags freeware: http://www.tranglos.com
** Google Sibel Edmonds **

WTF, I thought, because I'm apt to think in TLAs.
-- Julian Bucknall
Back to top
Kevin Frisk
Guest





PostPosted: Tue Oct 31, 2006 10:22 pm    Post subject: RE: Delphi and XSL-FO Reply with quote

Quote:
Hi all

I'm using the LibXML2 / LibXSLT to convert XML + XSL documents in HTML,
and I'm full satisfied.

Now, I would to use XSL-FO to produce reports in PDF format.

I'd like to know if there are some library that do this task,
that I can use from Delphi.
If it is freeware or opensource it's better, but not necessary.

I know that there are a lot of library and tools for Linux (xmlroff) or
Java (Apache FOP), but I need something in Windows.

Thanks in advice

Giuseppe Garzotto

Giuseppe Garzotto

--- posted by geoForum on http://delphi.newswhat.com

You can use Ecrion XF Rendering Server from http://www.ecrion.com.
Look under C:\Program Files\Ecrion Software\XF Rendering Server 2007\Code Samples\Delphi for several examples.
Cheers
Kevin

Posted from http://www.topxml.com/renntp using reNNTP: the website based NNTP reader.
Back to top
phpguy
Guest





PostPosted: Wed Feb 07, 2007 6:36 am    Post subject: RE: XML vs. INI file Reply with quote

Quote:

Hello all,

I'm new to XML and need some advise.

Would XML work faster than using an ini file to write and retrieve the data?

Some things to consider...
1. I will be adding data to the files on a regular basis.
2. I will need to access the written data (some or all).

Thanks for any suggestions you may have.
Regards,
Bryan

I think YAML may fit you your needs.

http://www.yaml.org


BizTalk Utilities - Frustration free BizTalk Adapters
http://www.topxml.com/biztalkutilities
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi XML All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.