[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: javax.xml.transform throwing up data?

Subject: RE: javax.xml.transform throwing up data?
From: "Julian Reschke" <julian.reschke@xxxxxx>
Date: Thu, 22 Aug 2002 20:53:08 +0200
RE:  javax.xml.transform throwing up data?
Well.

*Why* does it mess your downstream processing? It's there on purpose.

Julian

--
<green/>bytes GmbH -- http://www.greenbytes.de -- tel:+492512807760 

> -----Original Message-----
> From: owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> [mailto:owner-xsl-list@xxxxxxxxxxxxxxxxxxxxxx]On Behalf Of Scott Purcell
> Sent: Thursday, August 22, 2002 8:42 PM
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  javax.xml.transform throwing up data?
> 
> 
> Hello
> I am transforming a xml file with a xsl file and I am getting 
> some unwanted data. It is throwing into the HTML this line. It is 
> messing me up downstream, and the developers want me to remove 
> it. Does anyone here know about this, or where I may go to try 
> and resolve this?
> 
> 
> <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
> 
> transform code
> 
>         try {
>             javax.xml.transform.Source xmlSource = new 
> javax.xml.transform.stream.StreamSource(job.getXmlFile());
>             javax.xml.transform.Source xsltSource = new 
> javax.xml.transform.stream.StreamSource(job.getXslFile());
>             javax.xml.transform.Result result = new 
> javax.xml.transform.stream.StreamResult(baos);
>             javax.xml.transform.TransformerFactory transFact = 
> javax.xml.transform.TransformerFactory.newInstance();
>             javax.xml.transform.Transformer trans = 
> transFact.newTransformer(xsltSource);
> 
> 
> // first two line os xsl file
> <?xml version="1.0"?>
> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
> version="1.0">
> 
> Scott Purcell | Developer | VERTIS | 555 Washington Ave. 4th 
> Floor | St. Louis, MO 63101 |
> T 314.588.0720 | F 314.588.0735 | spurcell@xxxxxxxxxxxxx | 
> http://www.vertisinc.com
> 
> Vertis is a global powerhouse for integrated marketing and 
> advertising solutions that seamlessly combine advertising, direct 
> marketing, media, imaging and progressive technology. Vertis' 
> products and services include: consumer and media research, media 
> planning and placement, creative services, digital media 
> production, targetable insert programs, fully integrated direct 
> marketing programs, circulation-building newspaper products and 
> eMarketing.
> 
> 
> 
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.