Dsy Network www | forum | my | didattica | howto | wiki | el goog | stats | blog | dona | rappresentanti
Homepage
 Register   Calendar   Members  Faq   Search  Logout 
.dsy:it. : Powered by vBulletin version 2.3.1 .dsy:it. > Community > Tech > [XML] riferire un XML Schema
  Last Thread   Next Thread
Author
Thread    Expand all | Contract all    Post New Thread    Post A Reply
Collapse
Tosh
.precettore.

User info:
Registered: Nov 2003
Posts: 94 (0.01 al dì)
Location: Bergamo
Corso: Informatica
Anno: 2° Specialistica
Time Online: 2 Days, 1:31:23 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
[XML] riferire un XML Schema

Ciao a tutti,
forse è una domanda banale, ma da ore non trovo risposta sul web. Tramite la direttiva xsi:schemaLocation è possibile inserire in un documento xml il riferimento fisico a un xml schema. Tutti gli esempi che ho recuperato utilizzano url per il riferimento, invece io vorrei riferire un xml schema in locale, servendomi per esempio di windows path (c:\Dcouments and Settings\...), come fare?


P.S.
Sapete suggerirmi un programma free e leggero per windows per la validazione?

22-11-2005 14:57
Click Here to See the Profile for Tosh Click here to Send Tosh a Private Message Find more posts by Tosh Add Tosh to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
fabpicca
jesus robot d'acciaio

User info:
Registered: May 2002
Posts: 2166 (0.25 al dì)
Location: Pieve Emanuele
Corso: Ticom
Anno:
Time Online: 12 Days, 23:12:28 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
Re: [XML] riferire un XML Schema

Originally posted by Tosh
Ciao a tutti,
forse è una domanda banale, ma da ore non trovo risposta sul web. Tramite la direttiva xsi:schemaLocation è possibile inserire in un documento xml il riferimento fisico a un xml schema. Tutti gli esempi che ho recuperato utilizzano url per il riferimento, invece io vorrei riferire un xml schema in locale, servendomi per esempio di windows path (c:\Dcouments and Settings\...), come fare?


P.S.
Sapete suggerirmi un programma free e leggero per windows per la validazione?

se hai un webserver in locale riferisciti con localhost...

altrimenti potresti provare "file:///" dubito però che funzioni...

__________________
my website?|ubuntu linux|get Firefox|grazie Polonia |bagdad sour

"Come va che non ha le corna e le zampe di Caprone?" gli opposi. "Oh, Giuvà", mi disse il prete "adesso non si usa più.Satana è furbo". (I.Silone, Fontamara)
"Al giorno d'oggi non bisogna essere intelligenti, perchè la gente si offende" (un ubriacone)
"close your eyes / pay the price / for your paradise" (DM) "whatever you want to change/you'd better start changing it in your mind" (Transatlantic)

22-11-2005 15:08
Click Here to See the Profile for fabpicca Click Here to See the Blog of fabpicca Click here to Send fabpicca a Private Message Visit fabpicca's homepage! Find more posts by fabpicca Add fabpicca to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
Tosh
.precettore.

User info:
Registered: Nov 2003
Posts: 94 (0.01 al dì)
Location: Bergamo
Corso: Informatica
Anno: 2° Specialistica
Time Online: 2 Days, 1:31:23 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
Re: Re: [XML] riferire un XML Schema

Originally posted by fabpicca
se hai un webserver in locale riferisciti con localhost...


il problema è proprio questo, non sto utilizzando un webserver, la mia è un'applicazione windows-based che riceve input tramite file xml.
Cmq dovrei riuscire a gestire la validazione ugualmente, xsi:schemaLocation accetta solo url quindi?

22-11-2005 15:21
Click Here to See the Profile for Tosh Click here to Send Tosh a Private Message Find more posts by Tosh Add Tosh to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
Collapse
fabpicca
jesus robot d'acciaio

User info:
Registered: May 2002
Posts: 2166 (0.25 al dì)
Location: Pieve Emanuele
Corso: Ticom
Anno:
Time Online: 12 Days, 23:12:28 [...]
Status: Offline

Post actions:

Edit | Report | IP: Logged
Re: Re: Re: [XML] riferire un XML Schema

Originally posted by Tosh
il problema è proprio questo, non sto utilizzando un webserver, la mia è un'applicazione windows-based che riceve input tramite file xml.
Cmq dovrei riuscire a gestire la validazione ugualmente, xsi:schemaLocation accetta solo url quindi?

beh volendo puoi utilizzare un path relativo.

comunque c'è molta libertà a riguardo:

http://www.w3.org/TR/2001/REC-xmlsc...te-Declarations

__________________
my website?|ubuntu linux|get Firefox|grazie Polonia |bagdad sour

"Come va che non ha le corna e le zampe di Caprone?" gli opposi. "Oh, Giuvà", mi disse il prete "adesso non si usa più.Satana è furbo". (I.Silone, Fontamara)
"Al giorno d'oggi non bisogna essere intelligenti, perchè la gente si offende" (un ubriacone)
"close your eyes / pay the price / for your paradise" (DM) "whatever you want to change/you'd better start changing it in your mind" (Transatlantic)

22-11-2005 15:28
Click Here to See the Profile for fabpicca Click Here to See the Blog of fabpicca Click here to Send fabpicca a Private Message Visit fabpicca's homepage! Find more posts by fabpicca Add fabpicca to your buddy list Printer Friendly version Email this Article to a friend Reply w/Quote
All times are GMT. The time now is 03:59.    Post New Thread    Post A Reply
  Last Thread   Next Thread
Show Printable Version | Email this Page | Subscribe to this Thread | Add to Bookmarks

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is ON
 

Powered by: vBulletin v2.3.1 - Copyright ©2000 - 2002, Jelsoft Enterprises Limited
Mantained by dsy crew (email) | Collabora con noi | Segnalaci un bug | Archive | Regolamento | Licenze | Thanks | Syndacate
Pagina generata in 0.081 seconds (45.10% PHP - 54.90% MySQL) con 24 query.