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 >> tclxml-users
tclxml-users
Re: [Tclxml-users] working dom example for tclxml3.1 anywhere?
by Steve Ball other posts by this author
Jan 20 2006 3:04AM messages near this date
[Tclxml-users] working dom example for tclxml3.1 anywhere? | [Tclxml-users] tcldom/tclxml pure tcl examples for 3.1?
Ben,

I did some work on the domtree example last year to make it work with  
tktreectrl, see examples/domtree-treectrl.tcl (display of the  
document tree works, but I haven't hooked up the DOM events yet).   
Although I use the binary installation of TclXML (ie. w/- libxml2), I  
don't recall there being anything in there that wouldn't work with  
the Tcl implementation.

With some limitations, the tkxmllint application should work with  
TclDOM/tcl.  It won't be able to perform DTD/XSD/RNG validation, but  
the basic read-file/parse/serialise operation should work.

Also, there's always the test suite.  Tests are marked as whether  
they are specific to a particular parser, but most of them apply to  
all implementations.

Now, both TclXML/TclDOM packages are meant to be API compatible so  
this shouldn't be an issue (modulo unsupported features, like  
validation, XPath, etc).  If there are examples in the distribution  
that don't work with v3.1 then please report that as a bug on SF.

Finally, if you need help with TclXML and/or TclDOM then please  
either write to the list or to me directly and let us know what you  
are trying to do.  Anyone on the list, or myself in particular, can  
then respond.  Anyone should feel free to add the responses to a Wiki  
page.

HTHs,
Steve Ball

---

Steve Ball            |   XSLT Standard Library   | Training & Seminars
Explain         |     Web Tcl Complete      |   XML XSL Schemas
http://www.explain.com.au/ |      TclXML TclDOM        | Tcl, Web  
Development
Steve.Ball@[...].au  +--------------------------- 
+---------------------
Ph. +61 2 6242 4099   |   Mobile (0413) 594 462   | Fax +61 2 6242 4099


On 20/01/2006, at 4:04 AM, Benjamin Allan wrote:

> 
> 
>  I'm desperately trying to find a working detailed example of
>  tcldom usage for the current tclxml3.1 based distribution.
>  The demos I find provided in the installation (domtree etc)
>  all seem to require either one of the binary xml parsers
>  or v 2.5 of the xml or dom packages. Does anyone have some
>  code to share based on tclxml3.1 and the pure tcl parser?
> 



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Tclxml-users mailing list
Tclxml-users@[...].net
https://lists.sourceforge.net/lists/listinfo/tclxml-users
Thread:
Benjamin Allan
Steve Ball

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved