Jump to content

rakesh kumar

Members
  • Posts

    2
  • Joined

  • Last visited

rakesh kumar's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. The following code sample shows how the use an XSL to transform an existing XML to PDF:// load the XMLXmlDocument xml = new XmlDocument();xml.Load( "data.xml" );// load the XSLXslTransform xsl = new XslTransform();xsl.Load( "transform.xsl" );// transform the XML using the XSLXmlReader reader = xsl.Transform( xml, null );// create a new PDF document and initialize if from the transformed XMLDocument document = new Document();document.Read( reader );// stream out the PDF to fileFileStream file = new FileStream( "out.pdf", FileMode.Create );document.Write( file ); but here give error in Document document = new Document(); document.Read( reader ); plz give solution . thanx
  2. i have a xml file & xsl and i want to convert this in pdf . please give full souce code to convert the xml into pdf by vb.net.
×
×
  • Create New...