Render XML+XSL into PrintDocument (not XML) ? 
Author Message
 Render XML+XSL into PrintDocument (not XML) ?

I want to directly get the graphic image of XML+XSL (like
shown by IE, the result XML rendered by IE) but in
PrintDocument class ?

1. Hello.xml contains XML data to be printed
2. Hello.xsl formats Hello.xml into nice format (using IE
to see the result)

Question: how to render the result (like in IE but without
showing IE) into PrintDocument class, not another XML as
result of the merging of XML+XSL ?

I mean not to get XML result of 'merging XML+XSL',
but the graphic image as shown in IE, "Hello World !" with
big font, and "an XSLT programmer" with small italic,
So, the 'graphic' is ready to drawn on PrintDocument
control !

Thank's
PM

MSDN search "XSLT, about XSLT"

hello.xml
---------
<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="hello.xsl"?>
<hello-world>
   <greeter>an XSLT programmer</greeter>
   <greeting>hello, world!</greeting>
</hello-world>

hello.xsl
---------
<?xml version="1.0"?>
<xsl:stylesheet
      xmlns:xsl=" http://www.*-*-*.com/ ;
      version="1.0">
   <xsl:template match="/hello-world">
       <html>
         <head>
           <title></title>
         </head>
         <body>
            <h1><xsl:value-of select="greeting"/></h1>
            <xsl:apply-templates select="greeter"/>
         </body>
       </html>
   </xsl:template>
   <xsl:template match="greeter">
       <div>from
           <i><xsl:value-of select="."/></i>
       </div>
   </xsl:template>
</xsl:stylesheet>



Mon, 07 Nov 2005 12:09:02 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. render Hello.xml + Hello.xsl into PrintDocument ?

2. XML-XSL Transformation

3. Convert DataTable XML to CSV Using XSL

4. xml in asp and xsl

5. VB and XML/XSL

6. Viewing a XML dokument with corresponding XSL and CSS

7. Create xml/xsl file

8. FREE Tutorials on HTML XHTML CSS JavaScript XML XSL ASP SQL ADO VBScript, SAP - ABAP

9. XML / XSL -- PPC 2002 -- An interesting Query ??!!

10. XML, Converting Word doc's to XML files (O'2000)

11. How to create a secure connection, send an xml msg and receive and xml response

12. XML Newbie question, getting a value from an XML string

 

 
Powered by phpBB® Forum Software