XML - sold! (was 'Parsing large amounts of data (200,000 entries) with XML?')

From: Bonj (a_at_b.com)
Date: 03/18/04


Date: Thu, 18 Mar 2004 20:00:07 -0000

Hope you don't mind, I've started a new thread for this as the previous one
was getting a bit deep!

Joseph - your XML+XSL => HTML sample's working beautifully, many thanks for
making it, very kind of you. I'm actually extremely impressed now.

> Sorry, I am not sure what you mean here. I have not used FrontPage or
> FrontPage Extensions. If you are asking if you can generate an XSL on
> the fly, the answer would be yes. An XSL is a well-formed XML document,
> so you can build and load it directly into the parser.

What I really meant is how do you know what the code for the XSL template
is? Do you just have to learn it or figure it out, like a language just as
you do with VB, and then type it into the XSL file in notepad and test it?
Or are there GUI-based programs that can automatically generate the XSL
syntax? However your example does illustrate more than enough to get me
started.
>
> > c) I notice that you use the save method of the DOMDocument30 - if I
wanted
> > to use such methods in an ASP-style system, would I write to a temporary
> > file on the web server, or does it have some other method for generating
the
> > text?
>
> Actually, this sample is the first one I posted. I made a couple of
> revisions to it since then. As opposed to saving the result with the
> parser, I would recommend either using an ADO Stream object or regular
> disk i/o, since the parser was not friendly to Larry's HTML results with
> non-breaking spaces. FWIW, if you would use the save method of the
> parser on the server, it would save the file locally to the server.
>
> The full listing with all of the current code is in this post (made just
> for you - it uses late binding <g>):
>
>
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&safe=off&selm=uvnexUDDEHA.3064%40tk2msftngp13.phx.gbl
>
> --Joseph



Relevant Pages

  • Re: XSLTransformation problem
    ... contains, substring-before, substring-after and concat are does not handle ... What does is to tell the XSL parser that everything in between is ... > but the problem is its always giving the following errors when I load.. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: XSLTransformation problem
    ... contains, substring-before, substring-after and concat are does not handle ... What does is to tell the XSL parser that everything in between is ... > but the problem is its always giving the following errors when I load.. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Parsing large amounts of data (200,000 entries) with XML?
    ... SQL Server currently can do this without any configuration changes. ... directly to XML since version 2.5, ... save a file to and an ADO Stream object as a place to write the XML to ... so you can build and load it directly into the parser. ...
    (microsoft.public.vb.general.discussion)
  • Re: Howto optimize XSL transformations (reuse compilations) on a web server?
    ... Then the web server transform this XML-document to HTML with a XSL document. ... The XSL file actually consists of 1 main XSL with include statements to 24 other XSL files, so it's quite a large XSL document. ... The compilation takes place when the Load ... of the XSL document on the server so I will not have to recompile it in every request? ...
    (microsoft.public.dotnet.xml)
  • Re: Better way to manage DNS
    ... parser that would inturn set options on a w2k/w3k server and export the ... Justin has been working on a parser for the config file and general ... > Microsoft MVP (Windows Server System: ...
    (microsoft.public.windows.server.dns)