Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do DataDirect XML Converters work?

converters datadirect XML
0
Posted

How do DataDirect XML Converters work?

0

DataDirect XML Converters work in two ways: • In Java or Microsoft .NET, files and resources are referred to using URI’s. The basic URI resolvers that are included with Java or .NET are capable of resolving file:, http:, ftp:, and a few other protocols. DataDirect XML Converters extend the ability of the default URI resolvers to understand a new file scheme, converter:, that can be used to convert non-XML files into XML on the fly and vice-versa. XSLT and XQuery provide standard-based ways to access XML files using the document() or doc() functions, but by default they can only resolve the files and URL’s supported by the standard URI resolvers. Now, using DataDirect XML Converters, you can write the following: • In XSLT: xsl:value-of select=”document(‘converter:EDI?mymessage.edi’)” • In XQuery: doc(“converter:EDI?mymessage.edi”) DataDirect XML Converters seamlessly resolves the URI and stream the data as XML to your XSLT or XQuery processor thus enabling access to non-XML files. So fo

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123