Skip to main content
Known Participant
March 1, 2008
Question

Parsing XML in InDesign

  • March 1, 2008
  • 1 reply
  • 384 views
Hi,

Suppose I have XML data coming from the network, let's say I'm putting it in a buffer. What's the best way to pass this buffer to InDesign and parse it afterwards to have control over the elements/nodes inside XML document?

Thanks
This topic has been closed for replies.

1 reply

Participating Frequently
March 4, 2008
Check out SDK sample XMLCatlogHandler, which implements an XCatHndSAXContentHandler, based on CSAXContentHandler (provides partial implementation to ISAXContentHandler) to read its XML file. for writing out an XML, there is an IXMLGenerator with helper class CXMLGenerator.

Regards,
lee