Click here to Skip to main content
15,888,079 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: XHTML and css Pin
User 98857-Feb-07 20:01
User 98857-Feb-07 20:01 
GeneralRe: XHTML and css Pin
Bradml7-Feb-07 22:32
Bradml7-Feb-07 22:32 
GeneralRe: XHTML and css Pin
User 98857-Feb-07 22:57
User 98857-Feb-07 22:57 
GeneralRe: XHTML and css Pin
Bradml7-Feb-07 23:00
Bradml7-Feb-07 23:00 
GeneralRe: XHTML and css Pin
User 98857-Feb-07 23:08
User 98857-Feb-07 23:08 
GeneralRe: XHTML and css Pin
Bradml7-Feb-07 23:12
Bradml7-Feb-07 23:12 
AnswerRe: XHTML and css Pin
Bradml7-Feb-07 22:32
Bradml7-Feb-07 22:32 
AnswerRe: XHTML and css Pin
szukuro8-Feb-07 1:29
szukuro8-Feb-07 1:29 
GeneralRe: XHTML and css Pin
User 98858-Feb-07 2:04
User 98858-Feb-07 2:04 
QuestionHelp in asp .net and mysql Pin
Rock Star.7-Feb-07 19:14
Rock Star.7-Feb-07 19:14 
AnswerRe: Help in asp .net and mysql Pin
badgrs8-Feb-07 0:53
badgrs8-Feb-07 0:53 
QuestionHelp in using media player control in C# Asp.net web application Pin
EEmaan7-Feb-07 18:37
EEmaan7-Feb-07 18:37 
AnswerRe: Help in using media player control in C# Asp.net web application Pin
Christian Graus8-Feb-07 0:36
protectorChristian Graus8-Feb-07 0:36 
GeneralRe: Help in using media player control in C# Asp.net web application Pin
EEmaan8-Feb-07 0:41
EEmaan8-Feb-07 0:41 
GeneralRe: Help in using media player control in C# Asp.net web application Pin
badgrs8-Feb-07 0:50
badgrs8-Feb-07 0:50 
GeneralRe: Help in using media player control in C# Asp.net web application Pin
EEmaan8-Feb-07 0:56
EEmaan8-Feb-07 0:56 
GeneralRe: Help in using media player control in C# Asp.net web application Pin
Christian Graus8-Feb-07 1:04
protectorChristian Graus8-Feb-07 1:04 
JokeRe: Help in using media player control in C# Asp.net web application Pin
User 98858-Feb-07 21:31
User 98858-Feb-07 21:31 
GeneralRe: Help in using media player control in C# Asp.net web application Pin
Christian Graus8-Feb-07 22:38
protectorChristian Graus8-Feb-07 22:38 
QuestionHelp in implementing cascaded style sheet in C# asp.net web applcation Pin
EEmaan7-Feb-07 18:32
EEmaan7-Feb-07 18:32 
AnswerRe: Help in implementing cascaded style sheet in C# asp.net web applcation Pin
Christian Graus8-Feb-07 0:37
protectorChristian Graus8-Feb-07 0:37 
GeneralRe: Help in implementing cascaded style sheet in C# asp.net web applcation Pin
EEmaan8-Feb-07 0:39
EEmaan8-Feb-07 0:39 
QuestionValidating an XML against a given XSD Pin
vsavarma7-Feb-07 17:38
vsavarma7-Feb-07 17:38 
Hi,

This is Ashok Varma V. S. working with Cibernet, India.
I found you the right person to answer my question.

I have XSD, XML files and want to validate the XML against the XSD and then only proceed with parsing the XML file.

I used XML::SAX::ParserFactory, XML::Validator::Schema modules but following is the issues i faced ...
1. Failed with this reason --- elementFormDefault in <schema> must be 'unqualified', 'qualified' is not supported.
I modified the attribute 'elementFormDefault' value to 'unqualified' and it worked (practically, i should not do this).
2. The module that i am currently using(give below in code snippet) is not supporting <import> tag.

Can any one please suggest me a better module which does the above.

code snippet i used
------------------
use XML::SAX::ParserFactory;
use XML::Validator::Schema;

my $xsd_file = '/Users/vashokvarma/EID/xmlfile/EID.xsd';
my $xml_file = '/Users/vashokvarma/EID/xmlfile/EID.xml';

my $validator = XML::Validator::Schema->new(file => $xsd_file);

my $parser = XML::SAX::ParserFactory->parser(Handler => $validator);

eval { $parser->parse_uri($xml_file) };
if ($@) {
print "File failed validation: $@"
} else {
print "proceed with parsing XML\n";
}
------------------

Let me know if anyone need any additional information. Any kind of help is greatly appreciated.

Thanks in advance,
Ashok

Do what i do but dont do what i say ...

AnswerRe: Validating an XML against a given XSD Pin
vsavarma7-Feb-07 17:39
vsavarma7-Feb-07 17:39 
QuestionIframe Development Pin
macca247-Feb-07 4:40
macca247-Feb-07 4:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.