[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Test for malformed XML
Hello, I have the need to parse an XML string into a node tree, and have been successful in using saxon:parse(). However, it may not be possible that the string I get is well formed XML. Is there a way for me to test whether a string is well formed before I parse it? Or maybe trap the error that saxon returns when the parse attempt fails? Thank you, -Betty Lee The contents of this e-mail message and any attachments may be confidential or legally privileged or protected information of RWD Technologies, LLC., or its affiliates. If you are not an intended recipient of the original sender, please immediately delete this e-mail message and any attachments, including any copies of same, and inform the sender of the erroneous delivery by return e-mail. Unintended recipients are prohibited from retaining, copying, distributing, disclosing or otherwise using any information contained in this message or its attachments for any purpose and will be held legally responsible for any improper use. Thank you for your cooperation.
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|