API XML Stream and SW (swDocMgr)

Sep 29, 2005 4 Replies

Hey crew,



Been doing alot of head banging with the SwDocumentManager of late. Trying to make an acceptable structured quantified BoM from the XML stream SW gives you. Just when I think I have cracked the schema there is yet another wrinkle in it. Example:


9140-00605 is an assembly, beats me what reports to it based on the stream. Anyone have any tools they have devised to successfully parse the SW XML stream into say a tab delimited indented BOM? Tips freely accepted!

XML is actually easy but this is getting really old.


TIA


Are you using VB.NET? or VBA with the newer office versions?

It's all actually trivial to load the XML file into a DataSet/ DataTable and then you can do anything you want... SQL, Excel, HTML. pdf... you name it and you can convert the DataSet/ DataTable...

With regards,

Vinodh Kumar M.

formatting link

Any code examples available how to use SWDocumentManager?

Hello Guy-

"The SwDocMgr API help file has some very nice examples of use." Where is this located? I can't find it.

Best Regards, Devon T. Sowell

formatting link

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required