CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Intermediate:
XML::Smart::DTD

 



Gopalakrishnan
New User

Oct 25, 2017, 4:52 AM

Post #1 of 2 (747 views)
XML::Smart::DTD Can't Post

Hi,

I as using "XML::Smart::DTD: module to search an element in DTD.


Code
use XML::Smart::DTD ; 
my $dtd = XML::Smart::DTD->new('some.dtd') ;
if ( $dtd->child_exists('tag1','subtag1') )
{
print "YES";
}


The above perl script processed only Simple DTD. If the DTD consists of multiple definition files, then it will not responed.

Please help on this.

Thanks,
Gopal


BillKSmith
Veteran

Oct 25, 2017, 8:36 AM

Post #2 of 2 (744 views)
Re: [Gopalakrishnan] XML::Smart::DTD [In reply to] Can't Post

You are not receiving answers because we do not understand your question. Using google, I cannot find a single reference to a DTD which consists of multiple files.

Posting the relevant code in today's post was a big improvement over yesterday, but we also need data. Please post an example of a simple DTD that does work and an example of the simplest DTD that you can think of that does not work. (We should be able to run your code with your data to reproduce your results)
Good Luck,
Bill

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives