ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl-xml
perl-xml
Re: DTD to web form
by Tod Harter other posts by this author
Jun 18 2006 2:51AM messages near this date
view in the new Beta List Site
Re: DTD to web form | Re: DTD to web form
& XSLT Rick Frankel wrote:
>  I do something along these lines by converting the DTD to RelaxNG format
>  with trang. Then you can process the rng schema through an xsl processor
>  (e.g. XML::LibXSLT.pm) to generate the form.
> 
>  You can use the "document()" function in libxslt along w/ xpath to
>  merge values from a data document into the output form.
>    
I'd have to agree that a RelaxNG schema is a HUGE improvement over a 
DTD... And usually a lot simpler to deal with than XSD Schema, which are 
a giant headache! Relaxer is another good tool to check out, it can 
generate a schema from sample XML, which means you can avoid even 
messing with a DTD to begin with (and chances are a DTD can't really 
express all you want anyway in the long run).
>  rick
> 
>  _______________________________________________
>  Perl-XML mailing list
>  Perl-XML@[...].com
>  To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
>    

_______________________________________________
Perl-XML mailing list
Perl-XML@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
Joshua Santelli
Rick Frankel
Tod Harter
johns
Tod Harter
Joshua Santelli
Les Richardson

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved