"Paul Hastings" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> > for validating XML docs against a DTD:
> >
> > http://www.cfmentor.com/code/index.cfm?action=script&id=130
>
> cool. that looks like it might do the trick, many thanks. i will of course
> bother you later w/dumb questions ;-)

Don't worry, I build multi-language websites, in the past years I learned a
lot from you; so you have a huge amount of good karma to spend bothering me
with dump questions :-)

Please note that I wrote two separated UDFs in order to validate files or
strings:

http://www.cfmentor.com/code/index.cfm?action=script&id=130

http://www.cfmentor.com/code/index.cfm?action=script&id=129

The difference is that by reading from the file system the parser
automatically expand external entities references or relative links to DTDs.
That's why the UDF for string validation allows you to pass an optional base
url.

Please download the demo .zip files, they feature different scenarios and
commented source code (in english)

PS In the end I should consolidate everything into a CFC, I am just waiting
for RedSky for fixing a few issues related to Java and the DOM. In the
meantime I am submitting the whole arsenal of UDFs to cflib

----------------------------
Massimo Foti
Certified Dreamweaver MX Developer
Certified Advanced ColdFusion MX Developer
http://www.massimocorner.com/
----------------------------



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq

Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. 
http://www.fusionauthority.com/ads.cfm

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to