Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > XML > Import XML file

Thread Tools

Import XML file

Don Grover
Posts: n/a
I may not explain myself properly as I am a newby to xml & xsl so please
allow for this.
I am using HTTP Post to get a XML-RPC file from a remote server and need to
convert it to a string suitable to import into mssql server.

I have a vbscript that has a function where i have an xml file imported
into a string that i need to apply a xsl file against to transform the
elements, so I can import them into sql server using a sp and passing on a
new string.

My xml file is stored in sText as a string
I need to transform it and put transformed doc into a new string into
Using 'ImportStockList.xsl' , can I put this xsl file into a string and just
call a function with a returned transformed string or do I need to keep
'ImportStockList.xsl' as a file.

I dont know something like sTransText = XMLDOM.Transform(sText)
You get my idea, can anyone off some help on this please.
Don Grover

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange xml.parsers.xml import problem Python 2 10-03-2006 10:05 PM
Problem to insert an XML-element by XSLT-converting from one XML-file into another XML-file jkflens XML 2 05-30-2006 09:41 AM
Different results parsing a XML file with XML::Simple (XML::Sax vs. XML::Parser) Erik Wasser Perl Misc 5 03-05-2006 10:09 PM
XML Schema question - does "import" import elements? Vitali Gontsharuk XML 2 08-25-2005 07:33 PM
IMPORT STATIC; Why is "import static" file scope? Why not class scope? Paul Opal Java 12 10-10-2004 11:01 PM