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

Re: transforming from xml to text -- creates a blank l

Subject: Re: transforming from xml to text -- creates a blank line on the first line (new question regarding use of Output Text i InDesign)
From: UlyLee <ulyleeka@xxxxxxxxx>
Date: Tue, 25 Oct 2005 22:06:40 -0700 (PDT)
shailesh shinde yahoo
Thanks for the reply, it helped a lot! About the
namespaces those were automatically put in when i
create a new xsl file from xmlspy and i did not bother
to remove them.

I have another question, (for those familliar with
InDesgin Tags) why is it that after transforming my
xml to text i still have to open it in notepad and
save it before i can properly place it in InDesign. If
i dont resave it in notepad it just treat the output
text as normal text and it does not interpret the
InDesign Tags

--- David Carlisle <davidc@xxxxxxxxx> wrote:

> 
> sorry I see you did post your code.
> 
> 
> xmlns:fo="http://www.w3.org/1999/XSL/Format"
> xmlns:xs="http://www.w3.org/2001/XMLSchema"
> xmlns:fn="http://www.w3.org/2005/02/xpath-functions"
>
xmlns:xdt="http://www.w3.org/2005/02/xpath-datatypes"
> 
> 
> why have you declared these namespaces? Yout project
> doesn't appear to
> use xSL-Fo at all, and the fn and xsdt namespaces
> seem suspect, the
> current draft uses 2005/xpath-datatypes and the
> previous one used
> 2005/04/xpath-datatypes, The one before did use /02
> but in any case you
> don't use these namespaces.
> 
> <xsl:template match="/">
> <ASCII-WIN>
> 
> that generates a text node that starts
> newline < a s C ...
> 
> If you don't want it to start with a newline, delete
> the newline
> 
> <xsl:template match="/"><ASCII-WIN>
> 
> 
> David
> 
>
________________________________________________________________________
> This e-mail has been scanned for all viruses by
> Star. The
> service is powered by MessageLabs. For more
> information on a proactive
> anti-virus service working around the clock, around
> the globe, visit:
> http://www.star.net.uk
>
________________________________________________________________________
> 
> 



	
		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com

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.